summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 18:18:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 18:18:18 +0300
commite03f294796e1cd8d49d00fd86dc33959948924c7 (patch)
treeaea8504dd7e510c8669cffd18f8c4200f8473470 /src/actormanager.cpp
parent025e9b12601079e7aeaaaa25225e9dadc376240a (diff)
downloadplus-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.gz
plus-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.bz2
plus-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.xz
plus-e03f294796e1cd8d49d00fd86dc33959948924c7.zip
Remove default value from parameter cards in Being->setSprite.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp9
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;