diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-05 20:25:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-05 20:25:31 +0300 |
commit | d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54 (patch) | |
tree | a0e2cf622bea241a64ec36b8bd2ba1c15e24cdfe /src/being.cpp | |
parent | bdbad5330716fde9952924190b60341d05a089d1 (diff) | |
download | manaverse-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.tar.gz manaverse-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.tar.bz2 manaverse-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.tar.xz manaverse-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.zip |
Add space before gender sign.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index 35fe6052c..d45bbcf74 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1455,6 +1455,15 @@ void Being::flashName(int time) mDispName->flash(time); } +std::string Being::getGenderSignWithSpace() const +{ + const std::string &str = getGenderSign(); + if (str.empty()) + return str; + else + return " " + str; +} + std::string Being::getGenderSign() const { if (config.getBoolValue("showgender")) |