diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:49:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:49:45 +0300 |
commit | 1307b14ff24f3935fa58aef405ffb246c0741336 (patch) | |
tree | be0ebcda4a9b99a3b290fca9d8a210b18400b73a /src/actormanager.cpp | |
parent | b10cb3ac1189eaa5f41184527eee342584231f84 (diff) | |
download | plus-1307b14ff24f3935fa58aef405ffb246c0741336.tar.gz plus-1307b14ff24f3935fa58aef405ffb246c0741336.tar.bz2 plus-1307b14ff24f3935fa58aef405ffb246c0741336.tar.xz plus-1307b14ff24f3935fa58aef405ffb246c0741336.zip |
Remove getter for charServerHandler.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 2 |
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, |