diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-03 09:58:25 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-03 09:58:25 +0000 |
commit | 8a60e11684e84807f3526b37afa8cbf6f103b8fd (patch) | |
tree | 202058890ef2f8f2c5e9873acbb6f59327b28762 /src/net/charserverhandler.cpp | |
parent | 8a0e94b31be13ef9c52b281c32095279d7fa1ca7 (diff) | |
download | mana-client-8a60e11684e84807f3526b37afa8cbf6f103b8fd.tar.gz mana-client-8a60e11684e84807f3526b37afa8cbf6f103b8fd.tar.bz2 mana-client-8a60e11684e84807f3526b37afa8cbf6f103b8fd.tar.xz mana-client-8a60e11684e84807f3526b37afa8cbf6f103b8fd.zip |
Fixed double load of hair graphics.
Diffstat (limited to 'src/net/charserverhandler.cpp')
-rw-r--r-- | src/net/charserverhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index 1cfd815b..76311266 100644 --- a/src/net/charserverhandler.cpp +++ b/src/net/charserverhandler.cpp @@ -217,8 +217,8 @@ CharServerHandler::readPlayerData(MessageIn &msg, int &slot) slot = msg.readByte(); // character slot tempPlayer->mName = msg.readString(); tempPlayer->setGender(msg.readByte()); - tempPlayer->setHairStyle(msg.readByte()); - tempPlayer->setHairColor(msg.readByte()); + int hs = msg.readByte(), hc = msg.readByte(); + tempPlayer->setHairStyle(hs, hc); tempPlayer->setLevel(msg.readByte()); tempPlayer->setMoney(msg.readLong()); |