diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index d78f38ab..54aa5e8a 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1032,7 +1032,21 @@ void Being::showName() mDispName = 0; std::string mDisplayName(mName); - if (getType() == MONSTER) + if (getType() == PLAYER) + { + if (config.getValue("showgender", false)) + { + Player* player = static_cast<Player*>(this); + if (player) + { + if (player->getGender() == GENDER_FEMALE) + mDisplayName += " \u2640"; + else + mDisplayName += " \u2642"; + } + } + } + else if (getType() == MONSTER) { if (config.getValue("showMonstersTakedDamage", false)) { |