summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 15:09:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 15:09:39 +0300
commit3d524b386e3dd6d89d481749cd0015bff247a703 (patch)
treeadc0d84377175320083738168229cdf20ff48e27 /src/net/eathena/charserverrecv.cpp
parent71cccfd289845fcd31e64f35d600ebafd4aa29c6 (diff)
downloadmanaplus-3d524b386e3dd6d89d481749cd0015bff247a703.tar.gz
manaplus-3d524b386e3dd6d89d481749cd0015bff247a703.tar.bz2
manaplus-3d524b386e3dd6d89d481749cd0015bff247a703.tar.xz
manaplus-3d524b386e3dd6d89d481749cd0015bff247a703.zip
In Being split setSpriteId into setSpriteId and unSetSprite.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r--src/net/eathena/charserverrecv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp
index 555a876be..3ddb6af95 100644
--- a/src/net/eathena/charserverrecv.cpp
+++ b/src/net/eathena/charserverrecv.cpp
@@ -147,8 +147,7 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
tempPlayer->setHairColor(color);
if (hairStyle == 0)
{
- tempPlayer->setSpriteId(SPRITE_HAIR_COLOR,
- 0);
+ tempPlayer->unSetSprite(SPRITE_HAIR_COLOR);
}
else
{