diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/charserverrecv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp index ec906f081..5ff1911b9 100644 --- a/src/net/eathena/charserverrecv.cpp +++ b/src/net/eathena/charserverrecv.cpp @@ -219,7 +219,7 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg, void CharServerRecv::processCharLogin(Net::MessageIn &msg) { - msg.skip(2, "packet len"); + msg.readInt16("packet len"); int slots = 9; int offset = 0; if (packetVersion >= 20100413) @@ -532,7 +532,7 @@ void CharServerRecv::processCharDelete2CancelAck(Net::MessageIn &msg) void CharServerRecv::processCharCharacters(Net::MessageIn &msg) { - msg.skip(2, "packet len"); + msg.readInt16("packet len"); delete_all(Net::CharServerHandler::mCharacters); Net::CharServerHandler::mCharacters.clear(); |