diff options
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 4e28412557..e5b12df2ef 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -4503,6 +4503,13 @@ void tile_use_item(int idx, InvAction act) return; case OBJ_BOOKS: + if (you.inv[idx].sub_type == BOOK_MANUAL + || you.inv[idx].sub_type == BOOK_DESTRUCTION) + { + handle_read_book(idx); + return; + } + // else it's a spellbook learn_spell(idx); return; |