Permalink
Browse files

ID books when reading them from the floor

Would be better to ID them when just standing over them, but I'm
not sure the best way to go about that.
  • Loading branch information...
PleasingFungus committed Jun 15, 2016
1 parent 6cf27f1 commit c7710adb763c5453d1973b48b6e64c3c3c7b89f1
Showing with 2 additions and 0 deletions.
  1. +2 −0 crawl-ref/source/item_use.cc
@@ -2427,6 +2427,8 @@ static void _handle_read_book(item_def& book)
}
#endif
set_ident_flags(book, ISFLAG_IDENT_MASK);
mark_had_book(book);
read_book(book);
}

0 comments on commit c7710ad

Please sign in to comment.