Skip to content

Commit

Permalink
Update src/item.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse committed Dec 11, 2024
1 parent 1ab3d03 commit a3e97c7
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 @@ -2756,7 +2756,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( flag_CARNIVORE_DIET ) ) ) ) {
( debug || ( g != nullptr && player_character.has_flag( json_flag_CARNIVORE_DIET ) ) ) ) {
info.emplace_back( "FOOD", _( "Smells like: " ) + food_item->corpse->nname() );
}

Expand Down

0 comments on commit a3e97c7

Please sign in to comment.