diff options
Diffstat (limited to 'src/net/maploginhandler.cpp')
-rw-r--r-- | src/net/maploginhandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/maploginhandler.cpp b/src/net/maploginhandler.cpp index 0afc8357..2a174c58 100644 --- a/src/net/maploginhandler.cpp +++ b/src/net/maploginhandler.cpp @@ -47,9 +47,7 @@ void MapLoginHandler::handleMessage(MessageIn *msg) switch (msg->getId()) { case SMSG_LOGIN_SUCCESS: - msg->readInt32(); // server tick - msg->readCoordinates(player_node->mX, player_node->mY, direction); - msg->skip(2); // unknown + msg->readLong(); // server tick logger->log("Protocol: Player start position: (%d, %d), Direction: %d", player_node->mX, player_node->mY, direction); state = GAME_STATE; |