summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-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();