summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-26 23:01:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-26 23:01:18 +0300
commitb726bb81f2e1d0bebbef43e8e7ade541745535e9 (patch)
tree6446c04e81cfa10cb900470073ec72cbc0027e4e /src/being
parent38a861c3e5d14ad3c1db04be8c65e84966758d88 (diff)
downloadmanaplus-b726bb81f2e1d0bebbef43e8e7ade541745535e9.tar.gz
manaplus-b726bb81f2e1d0bebbef43e8e7ade541745535e9.tar.bz2
manaplus-b726bb81f2e1d0bebbef43e8e7ade541745535e9.tar.xz
manaplus-b726bb81f2e1d0bebbef43e8e7ade541745535e9.zip
Show popup on pets.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index e7610d12d..2640379aa 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -296,6 +296,7 @@ void Being::setSubtype(const uint16_t subtype, const uint8_t look)
mInfo = PETDB::get(mId);
if (mInfo)
{
+ setName(mInfo->getName());
setupSpriteDisplay(mInfo->getDisplay(), false);
mYDiff = mInfo->getSortOffsetY();
const int speed = mInfo->getWalkSpeed();