summaryrefslogtreecommitdiff
path: root/src/net/eathena
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 /src/net/eathena
parentae529d58059eaeded1d5e85bce2565b6e4d6938d (diff)
downloadmanaverse-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.tar.gz
manaverse-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.tar.bz2
manaverse-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.tar.xz
manaverse-bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6.zip
Fix character creation for hercules with packet version >= 20120307.
Diffstat (limited to 'src/net/eathena')
-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