summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 029b7fcd4..55b3b644f 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -133,7 +133,7 @@ void GeneralHandler::handleMessage(Net::MessageIn &msg)
errorMessage = _("No servers available.");
break;
case 2:
- if (Client::getState() == STATE_GAME)
+ if (client->getState() == STATE_GAME)
{
errorMessage = _("Someone else is trying to use this "
"account.");
@@ -153,7 +153,7 @@ void GeneralHandler::handleMessage(Net::MessageIn &msg)
errorMessage = _("Unknown connection error.");
break;
}
- Client::setState(STATE_ERROR);
+ client->setState(STATE_ERROR);
break;
}
@@ -224,7 +224,7 @@ void GeneralHandler::flushNetwork()
else
errorMessage = _("Got disconnected from server!");
- Client::setState(STATE_ERROR);
+ client->setState(STATE_ERROR);
}
}