diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-12 19:16:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-12 19:16:38 +0300 |
commit | bdc9cb6d5886af2bf068bfb5ea37f724f0cecae6 (patch) | |
tree | 1ab5c3583f18df2cb39910ebd8cb884217f5906c /src/net/eathena | |
parent | ae529d58059eaeded1d5e85bce2565b6e4d6938d (diff) | |
download | manaverse-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.cpp | 1 |
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 |