summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-23 16:52:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 19:46:20 +0300
commit2ddcddafa6dbac049cefef4ee105eaff5bb605fc (patch)
tree12086578a2c928de1fc7c6bbd6d7f2e6d2c2340d /src/net
parent4957ee9dc5c0389ec1d45bf4553683e34a2e204e (diff)
downloadmv-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.tar.gz
mv-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.tar.bz2
mv-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.tar.xz
mv-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.zip
Fix packet comment in gamehandler.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/gamehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp
index 7a24038cc..a1cd1c747 100644
--- a/src/net/tmwa/gamehandler.cpp
+++ b/src/net/tmwa/gamehandler.cpp
@@ -174,7 +174,7 @@ void GameHandler::processMapLogin(Net::MessageIn &msg)
uint16_t x, y;
msg.readInt32("tick");
msg.readCoordinates(x, y, direction, "position");
- msg.skip(2, "unknown?");
+ msg.readInt16("unknown?");
logger->log("Protocol: Player start position: (%d, %d),"
" Direction: %d", x, y, direction);