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