Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
Revert "Simplify code"

This reverts commit 8cbea47.

Revert "Revert "Simplify code""

This reverts commit a484097.
  • Loading branch information
KheirFerrum committed Nov 27, 2022
1 parent 7f4aebd commit b264054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iuse_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ void deploy_furn_actor::info( const item &, std::vector<iteminfo> &dump ) const
if( the_furn.has_flag( "FIRE_CONTAINER" ) ) {
can_function_as.emplace_back( _( "a safe place to <info>contain a fire</info>" ) );
}
if( std::count( pseudo_list.begin(), pseudo_list.end(), itype_char_smoker ) > 0 ) {
if( pseudo_list.count( itype_char_smoker ) > 0 ) {
can_function_as.emplace_back( _( "a place to <info>smoke or dry food</info> for preservation" ) );
}

Expand Down

0 comments on commit b264054

Please sign in to comment.