diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-23 17:03:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-23 19:46:20 +0300 |
commit | c47fd48bc3deefb774b0c809967f26632dce6a3a (patch) | |
tree | 9b3c9d2fa5113d77f815885488c60ab4c82d66b8 /src/net/tmwa | |
parent | 2ddcddafa6dbac049cefef4ee105eaff5bb605fc (diff) | |
download | manaverse-c47fd48bc3deefb774b0c809967f26632dce6a3a.tar.gz manaverse-c47fd48bc3deefb774b0c809967f26632dce6a3a.tar.bz2 manaverse-c47fd48bc3deefb774b0c809967f26632dce6a3a.tar.xz manaverse-c47fd48bc3deefb774b0c809967f26632dce6a3a.zip |
Add packet fields comments in charserverhandler.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint16_t>(slots); |