Skip to content

Commit

Permalink
Update item.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse committed Sep 8, 2024
1 parent 8693053 commit 8c05ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2723,7 +2723,7 @@ void item::food_info( const item *food_item, std::vector<iteminfo> &info,
std::abs( static_cast<int>( food_item->count() ) * batch ) );
}
if( food_item->corpse != nullptr && parts->test( iteminfo_parts::FOOD_SMELL ) &&
( debug || ( g != nullptr && player_character.has_flag( json_flag_CARNIVORE_DIET ) ) ) ) {
( debug || ( g != nullptr && player_character.has_flag( flag_CARNIVORE_DIET ) ) ) ) {
info.emplace_back( "FOOD", _( "Smells like: " ) + food_item->corpse->nname() );
}

Expand Down

0 comments on commit 8c05ee1

Please sign in to comment.