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.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 914462892..e43b71600 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -457,14 +457,22 @@ void Being::setSubtype(const BeingTypeId subtype,
mInfo = NPCDB::get(mSubType);
if (mInfo != nullptr)
{
- setupSpriteDisplay(mInfo->getDisplay(), ForceDisplay_false);
+ setupSpriteDisplay(mInfo->getDisplay(),
+ ForceDisplay_false,
+ 0,
+ std::string());
mYDiff = mInfo->getSortOffsetY();
}
break;
case ActorType::Avatar:
mInfo = AvatarDB::get(mSubType);
if (mInfo != nullptr)
- setupSpriteDisplay(mInfo->getDisplay(), ForceDisplay_false);
+ {
+ setupSpriteDisplay(mInfo->getDisplay(),
+ ForceDisplay_false,
+ 0,
+ std::string());
+ }
break;
case ActorType::Player:
{