Skip to content

Commit

Permalink
Fix cursed item background not being red
Browse files Browse the repository at this point in the history
In local tiles. Should be fine for ISFLAG_CURSED to be included in
get_item_known_info now that the only source of curses is ash.

Closes crawl#3683
  • Loading branch information
SentientSupper authored and PleasingFungus committed Mar 18, 2024
1 parent b0416c4 commit 0f6f1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawl-ref/source/items.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4618,7 +4618,7 @@ item_def get_item_known_info(const item_def& item)
ii.flags = item.flags & (0
| ISFLAG_IDENT_MASK
| ISFLAG_ARTEFACT_MASK | ISFLAG_DROPPED | ISFLAG_THROWN
| ISFLAG_COSMETIC_MASK);
| ISFLAG_COSMETIC_MASK | ISFLAG_CURSED);

if (in_inventory(item))
{
Expand Down

0 comments on commit 0f6f1dd

Please sign in to comment.