diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-26 20:26:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-26 20:26:57 +0300 |
commit | c87ec29ea1b98bc15922f318fcd39aff00af86e6 (patch) | |
tree | a9fc09ff72d532a3316377aa79270bbe45fbbd7f /src/net/eathena/charserverhandler.cpp | |
parent | 9942a165ab85b4f769158e4a1878cca067d7653d (diff) | |
download | mv-c87ec29ea1b98bc15922f318fcd39aff00af86e6.tar.gz mv-c87ec29ea1b98bc15922f318fcd39aff00af86e6.tar.bz2 mv-c87ec29ea1b98bc15922f318fcd39aff00af86e6.tar.xz mv-c87ec29ea1b98bc15922f318fcd39aff00af86e6.zip |
Fix some packets.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index cca754dfa..ee8a6aeb3 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -106,10 +106,10 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot, if (packetVersion >= 20151001) { outMsg.writeInt8(CAST_U8(slot), "slot"); + outMsg.writeInt16(CAST_S16(hairColor), "hair color"); outMsg.writeInt16(CAST_S16(hairstyle), "hair style"); outMsg.writeInt16(CAST_S16(0), "starting job id"); outMsg.writeInt16(0, "unknown"); - outMsg.writeInt16(0, "unknown"); uint8_t sex = 0; if (gender == Gender::UNSPECIFIED) sex = 99; |