summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 00:49:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:49:45 +0300
commit1307b14ff24f3935fa58aef405ffb246c0741336 (patch)
treebe0ebcda4a9b99a3b290fca9d8a210b18400b73a /src/actormanager.cpp
parentb10cb3ac1189eaa5f41184527eee342584231f84 (diff)
downloadmanaverse-1307b14ff24f3935fa58aef405ffb246c0741336.tar.gz
manaverse-1307b14ff24f3935fa58aef405ffb246c0741336.tar.bz2
manaverse-1307b14ff24f3935fa58aef405ffb246c0741336.tar.xz
manaverse-1307b14ff24f3935fa58aef405ffb246c0741336.zip
Remove getter for charServerHandler.
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,