From 48cff567cb37f3ce18ee32e75bb7570db72368e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Jun 2016 13:53:25 +0300 Subject: Split Being::setSprite into Being::setSprite and Being::setSpriteCards. --- src/actormanager.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/actormanager.cpp') diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 1d4416482..6bae927e9 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -2041,8 +2041,7 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, dstBeing->setSprite(slot, spriteId, std::string(), - color, - zeroCards); + color); } const int hairSlot = charServerHandler->hairSprite(); const int hairStyle = -srcBeing->getSpriteID(hairSlot); @@ -2052,16 +2051,14 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, dstBeing->setSprite(hairSlot, hairStyle * -1, ItemDB::get(-hairStyle).getDyeColorsString(hairColor), - ItemColor_one, - zeroCards); + ItemColor_one); } else { dstBeing->setSprite(hairSlot, 0, std::string(), - ItemColor_one, - zeroCards); + ItemColor_one); } dstBeing->setHairColor(hairColor); return dstBeing; -- cgit v1.2.3-70-g09d2