diff options
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()); |