summaryrefslogtreecommitdiff
path: root/src/net/tmwa/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-23 17:03:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 19:46:20 +0300
commitc47fd48bc3deefb774b0c809967f26632dce6a3a (patch)
tree9b3c9d2fa5113d77f815885488c60ab4c82d66b8 /src/net/tmwa/charserverhandler.cpp
parent2ddcddafa6dbac049cefef4ee105eaff5bb605fc (diff)
downloadmv-c47fd48bc3deefb774b0c809967f26632dce6a3a.tar.gz
mv-c47fd48bc3deefb774b0c809967f26632dce6a3a.tar.bz2
mv-c47fd48bc3deefb774b0c809967f26632dce6a3a.tar.xz
mv-c47fd48bc3deefb774b0c809967f26632dce6a3a.zip
Add packet fields comments in charserverhandler.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r--src/net/tmwa/charserverhandler.cpp2
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);