summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
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: