From 1680d159ecbf75591d2dab1416ff8144c27d4de5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Jul 2014 12:25:16 +0300 Subject: Rename player_node variable into localPlayer. --- src/net/eathena/gamehandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/eathena/gamehandler.cpp') diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index 9c7e84554..c21b37611 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -113,10 +113,10 @@ void GameHandler::connect() if (client->getState() == STATE_CONNECT_GAME) { // Change the player's ID to the account ID to match what eAthena uses - if (player_node) + if (localPlayer) { - mCharID = player_node->getId(); - player_node->setId(token.account_ID); + mCharID = localPlayer->getId(); + localPlayer->setId(token.account_ID); } else { @@ -133,10 +133,10 @@ void GameHandler::connect() outMsg.writeInt8(Being::genderToInt(token.sex)); /* - if (player_node) + if (localPlayer) { // Change the player's ID to the account ID to match what eAthena uses - player_node->setId(token.account_ID); + localPlayer->setId(token.account_ID); } */ // We get 4 useless bytes before the real answer comes in (what are these?) -- cgit v1.2.3-70-g09d2