diff --git a/src/item.cpp b/src/item.cpp index 37fa2815b18dd..4389bd437e75a 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -2756,7 +2756,7 @@ void item::food_info( const item *food_item, std::vector &info, std::abs( static_cast( 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() ); }