diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-08 19:50:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-08 19:50:00 +0300 |
commit | 4eaad7f7c871fb5a36e075c1f2cc279255f4a753 (patch) | |
tree | 707216a193ba2bbf9413e6dbe593e5d09a159ef7 /src/net | |
parent | 62620d490984f7f75c68f4886a59d8fd57f8eada (diff) | |
download | mv-4eaad7f7c871fb5a36e075c1f2cc279255f4a753.tar.gz mv-4eaad7f7c871fb5a36e075c1f2cc279255f4a753.tar.bz2 mv-4eaad7f7c871fb5a36e075c1f2cc279255f4a753.tar.xz mv-4eaad7f7c871fb5a36e075c1f2cc279255f4a753.zip |
Fix job field size in new char create packet.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |