summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-03 19:33:28 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-03 19:33:28 +0000
commitb0e9dd8144192b80740469f3d27ae31e2a03cf65 (patch)
treed2d8d216527b182a39dc138fdbeec482266807c8 /crawl-ref/source/item_use.cc
parentc0baf5ac213911f1c407b1cbb5b1c41c69375522 (diff)
downloadcrawl-ref-b0e9dd8144192b80740469f3d27ae31e2a03cf65.tar.gz
crawl-ref-b0e9dd8144192b80740469f3d27ae31e2a03cf65.zip
* Fix compilation for Tiles.
* Make several of the old uniques appear earlier. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9886 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 776f68adb3..0fdd3e0d8d 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -5553,7 +5553,7 @@ void tile_item_use(int idx)
handle_read_book(idx);
} // else it's a spellbook
else if (check_warning_inscriptions(item, OPER_MEMORISE))
- learn_spell(idx);
+ learn_spell(); // offers all spells, might not be what we want
return;
case OBJ_SCROLLS: