diff options
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 6c6eaaedf3..bb053758d6 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -4295,7 +4295,7 @@ static void handle_read_book(int item_slot) return; } - const spell_type spell = which_spell_in_book(book.sub_type, + const spell_type spell = which_spell_in_book(book, letter_to_index(ltr)); if (spell == SPELL_NO_SPELL) { |