summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 9827e1485..a42e466bc 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1744,7 +1744,7 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
const unsigned char color = srcBeing->getSpriteColor(slot);
dstBeing->setSprite(slot, spriteId, "", color, false);
}
- const int hairSlot = Net::getCharServerHandler()->hairSprite();
+ const int hairSlot = charServerHandler->hairSprite();
const int hairStyle = -srcBeing->getSpriteID(hairSlot);
const unsigned char hairColor = srcBeing->getHairColor();
dstBeing->setSprite(hairSlot, hairStyle * -1,