Skip to content

Commit

Permalink
Merge pull request CleverRaven#77874 from ZhilkinSerg/fix-map-reveal-…
Browse files Browse the repository at this point in the history
…items

Fix map items categorization
  • Loading branch information
Night-Pryanik authored Nov 15, 2024
2 parents 8cacd93 + 8c1afa9 commit a8deffc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9746,7 +9746,8 @@ std::string item::get_book_skill() const

bool item::is_map() const
{
return get_category_shallow().get_id() == item_category_maps;
return get_category_shallow().get_id() == item_category_maps ||
type->use_methods.count( "reveal_map" );
}

bool item::seal()
Expand Down

0 comments on commit a8deffc

Please sign in to comment.