diff options
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; |