summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-28 22:18:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-28 22:18:17 +0300
commit8be650bff5c7b6d5795cf4f1f76b7ee436c155f5 (patch)
tree570d417635602d0fbe230616cbb175ffeb84e874 /src/being/being.cpp
parent15b9391da7ba4c307311d7dae6abc81a4b2bf25c (diff)
downloadmanaplus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.tar.gz
manaplus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.tar.bz2
manaplus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.tar.xz
manaplus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.zip
Add extended name to beings (raw server name).
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 5b7bd96bd..df52f7793 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -152,6 +152,7 @@ Being::Being(const BeingId id,
mBadges(),
mSpriteAction(SpriteAction::STAND),
mName(),
+ mExtName(),
mRaceName(),
mPartyName(),
mGuildName(),
@@ -1063,6 +1064,7 @@ void Being::showNameBadge(const bool show) restrict2
void Being::setName(const std::string &restrict name) restrict2
{
+ mExtName = name;
if (mType == ActorType::Npc)
{
mName = name.substr(0, name.find('#', 0));