Skip to content

Commit

Permalink
Merge pull request #31390 from davidpwbrown/see_npc_gender
Browse files Browse the repository at this point in the history
See gender on NPC Look at option
  • Loading branch information
ZhilkinSerg authored Jun 13, 2019
2 parents 084d1fb + a1785cd commit 4259f65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11545,7 +11545,8 @@ std::string player::visible_mutations( const int visibility_cap ) const
std::vector<std::string> player::short_description_parts() const
{
std::vector<std::string> result;

std::string gender = male ? _( "Male" ) : _( "Female" );
result.push_back( _( "Gender: " ) + gender );
if( is_armed() ) {
result.push_back( _( "Wielding: " ) + weapon.tname() );
}
Expand Down

0 comments on commit 4259f65

Please sign in to comment.