diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-22 01:22:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-22 01:22:47 +0300 |
commit | c0b08d3f4f554c16e9a3599f1f1063c3a283bb93 (patch) | |
tree | 5e107d7652b6bca48f7349e6f0e746b444774ad6 /src/being/being.cpp | |
parent | e26c01fe66bc698555fdee9d681b3abd6822848a (diff) | |
download | plus-c0b08d3f4f554c16e9a3599f1f1063c3a283bb93.tar.gz plus-c0b08d3f4f554c16e9a3599f1f1063c3a283bb93.tar.bz2 plus-c0b08d3f4f554c16e9a3599f1f1063c3a283bb93.tar.xz plus-c0b08d3f4f554c16e9a3599f1f1063c3a283bb93.zip |
Remove default parameters from ActorSprite::setupSpriteDisplay.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 12 |
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: { |