summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-26 20:26:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-26 20:26:57 +0300
commitc87ec29ea1b98bc15922f318fcd39aff00af86e6 (patch)
treea9fc09ff72d532a3316377aa79270bbe45fbbd7f /src/net/eathena/charserverhandler.cpp
parent9942a165ab85b4f769158e4a1878cca067d7653d (diff)
downloadmv-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.cpp2
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;