From bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Oct 2016 19:16:38 +0300 Subject: Fix character creation for hercules with packet version >= 20120307. --- src/net/eathena/charserverhandler.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-60-g2f50