summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index c9aba5ab84..821000775d 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2068,7 +2068,7 @@ static bool _describe_spells(const item_def &item)
const int spell_index = letter_to_index(c);
spell_type nthing =
- which_spell_in_book(item.book_number(), spell_index);
+ which_spell_in_book(item, spell_index);
if (nthing == SPELL_NO_SPELL)
return (false);