summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);