diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:18:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:18:18 +0300 |
commit | e03f294796e1cd8d49d00fd86dc33959948924c7 (patch) | |
tree | aea8504dd7e510c8669cffd18f8c4200f8473470 /src/actormanager.cpp | |
parent | 025e9b12601079e7aeaaaa25225e9dadc376240a (diff) | |
download | mv-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.gz mv-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.bz2 mv-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.xz mv-e03f294796e1cd8d49d00fd86dc33959948924c7.zip |
Remove default value from parameter cards in Being->setSprite.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index c254839ca..6d8b637af 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -2043,7 +2043,8 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, std::string(), color, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); } const int hairSlot = charServerHandler->hairSprite(); const int hairStyle = -srcBeing->getSpriteID(hairSlot); @@ -2055,7 +2056,8 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, ItemDB::get(-hairStyle).getDyeColorsString(hairColor), ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); } else { @@ -2064,7 +2066,8 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); } dstBeing->setHairColor(hairColor); return dstBeing; |