summaryrefslogtreecommitdiff
path: root/src/net/ea/gamehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r--src/net/ea/gamehandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 028ad8937..244b2190f 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -70,8 +70,8 @@ void GameHandler::processMapLogin(Net::MessageIn &msg) const
// Switch now or we'll have problems
client->setState(STATE_GAME);
- if (player_node)
- player_node->setTileCoords(x, y);
+ if (localPlayer)
+ localPlayer->setTileCoords(x, y);
}
void GameHandler::processWhoAnswer(Net::MessageIn &msg) const