summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-12 19:16:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-12 19:16:38 +0300
commitbdc9cb6d5886af2bf068bfb5ea37f724f0cecae6 (patch)
tree1ab5c3583f18df2cb39910ebd8cb884217f5906c
parentae529d58059eaeded1d5e85bce2565b6e4d6938d (diff)
downloadplus-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.tar.gz
plus-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.tar.bz2
plus-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.tar.xz
plus-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.zip
Fix character creation for hercules with packet version >= 20120307.
-rw-r--r--src/net/eathena/charserverhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 3eb355caa..cca754dfa 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -120,6 +120,7 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot,
else if (packetVersion >= 20120307)
{
outMsg.writeInt8(CAST_U8(slot), "slot");
+ outMsg.writeInt16(CAST_S16(hairColor), "hair color");
outMsg.writeInt16(CAST_S16(hairstyle), "hair style");
}
else