diff --git a/src/item.cpp b/src/item.cpp index eac0e5275c0da..8d54088b4b19e 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -2723,7 +2723,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( json_flag_CARNIVORE_DIET ) ) ) ) { + ( debug || ( g != nullptr && player_character.has_flag( flag_CARNIVORE_DIET ) ) ) ) { info.emplace_back( "FOOD", _( "Smells like: " ) + food_item->corpse->nname() ); }