Skip to content

Commit

Permalink
Merge pull request CleverRaven#55325 from Kamejeir/add-SUN_GLASSES-to…
Browse files Browse the repository at this point in the history
…-clothing_flags_description-in-armor_layers.cpp

Fix my own blunder in resolving CleverRaven#55272
  • Loading branch information
ZhilkinSerg authored Feb 15, 2022
2 parents 7ba3691 + 8a8be7b commit 1fbe1a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/armor_layers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ std::vector<std::string> clothing_flags_description( const item &worn_item )
if( worn_item.has_flag( flag_POCKETS ) ) {
description_stack.emplace_back( _( "It has pockets." ) );
}
if( worn_item.has_flag( flag_SUN_GLASSES ) ) {
description_stack.emplace_back( _( "It keeps the sun out of your eyes." ) );
}
if( worn_item.has_flag( flag_WATERPROOF ) ) {
description_stack.emplace_back( _( "It is waterproof." ) );
}
Expand All @@ -473,9 +476,6 @@ std::vector<std::string> clothing_flags_description( const item &worn_item )
if( worn_item.has_flag( flag_SWIM_GOGGLES ) ) {
description_stack.emplace_back( _( "It helps you to see clearly underwater." ) );
}
if( worn_item.has_flag( flag_SUN_GLASSES ) ) {
description_stack.emplace_back( _( "It keeps the sun out of your eyes." ) );
}
if( worn_item.has_flag( flag_SEMITANGIBLE ) ) {
description_stack.emplace_back( _( "It can occupy the same space as other things." ) );
}
Expand Down

0 comments on commit 1fbe1a8

Please sign in to comment.