summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-11-03 09:58:25 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-11-03 09:58:25 +0000
commit8a60e11684e84807f3526b37afa8cbf6f103b8fd (patch)
tree202058890ef2f8f2c5e9873acbb6f59327b28762 /src/net/charserverhandler.cpp
parent8a0e94b31be13ef9c52b281c32095279d7fa1ca7 (diff)
downloadmana-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.cpp4
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());