From c47fd48bc3deefb774b0c809967f26632dce6a3a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Oct 2014 17:03:26 +0300 Subject: Add packet fields comments in charserverhandler. --- src/net/tmwa/charserverhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa/charserverhandler.cpp') diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 36fd99a5f..f4c3dc60e 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -380,7 +380,7 @@ void CharServerHandler::processCharLogin(Net::MessageIn &msg) { BLOCK_START("CharServerHandler::processCharLogin") - msg.skip(2, "len"); + msg.readInt16("len"); const int slots = msg.readInt16("slots"); if (slots > 0 && slots < 30) loginData.characterSlots = static_cast(slots); -- cgit v1.2.3-70-g09d2