diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-23 16:52:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-23 19:46:20 +0300 |
commit | 2ddcddafa6dbac049cefef4ee105eaff5bb605fc (patch) | |
tree | 12086578a2c928de1fc7c6bbd6d7f2e6d2c2340d /src/net/tmwa/gamehandler.cpp | |
parent | 4957ee9dc5c0389ec1d45bf4553683e34a2e204e (diff) | |
download | manaverse-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.tar.gz manaverse-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.tar.bz2 manaverse-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.tar.xz manaverse-2ddcddafa6dbac049cefef4ee105eaff5bb605fc.zip |
Fix packet comment in gamehandler.
Diffstat (limited to 'src/net/tmwa/gamehandler.cpp')
-rw-r--r-- | src/net/tmwa/gamehandler.cpp | 2 |
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); |