Skip to content

Commit

Permalink
Automatically identify some obsolete items.
Browse files Browse the repository at this point in the history
Add food and rods to the "always known" list in item_type_known(). This
restores some behaviour from before _full_ident_mask() was deleted, in
that you are no longer asked if you want to identify "removed food"
items.
  • Loading branch information
Aliscans committed Jan 16, 2025
1 parent 64b092a commit 1e7777d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crawl-ref/source/item-name.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1943,6 +1943,10 @@ bool item_type_known(const item_def& item)
case OBJ_GOLD:
case OBJ_RUNES:
case OBJ_GEMS:
#if TAG_MAJOR_VERSION == 34
case OBJ_FOOD:
case OBJ_RODS:
#endif
return true;
default:
break;
Expand Down

0 comments on commit 1e7777d

Please sign in to comment.