From 4eaad7f7c871fb5a36e075c1f2cc279255f4a753 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jun 2018 19:50:00 +0300 Subject: Fix job field size in new char create packet. --- src/net/eathena/charserverhandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/eathena/charserverhandler.cpp') diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 630dca675..168bd1ed8 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -109,8 +109,7 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot, 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.writeInt32(CAST_S16(0), "starting job id"); uint8_t sex = 0; if (gender == Gender::UNSPECIFIED) sex = 99; -- cgit v1.2.3-60-g2f50