summaryrefslogtreecommitdiff
path: root/src/net/manaserv/gamehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/gamehandler.cpp')
-rw-r--r--src/net/manaserv/gamehandler.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/net/manaserv/gamehandler.cpp b/src/net/manaserv/gamehandler.cpp
index c7f8eeee..1916d492 100644
--- a/src/net/manaserv/gamehandler.cpp
+++ b/src/net/manaserv/gamehandler.cpp
@@ -34,10 +34,9 @@ Net::GameHandler *gameHandler;
extern ManaServ::ChatHandler *chatHandler;
-extern Net::Connection *gameServerConnection;
-
namespace ManaServ {
+extern Connection *gameServerConnection;
extern std::string netToken;
extern ServerInfo gameServer;
@@ -51,7 +50,7 @@ GameHandler::GameHandler()
gameHandler = this;
}
-void GameHandler::handleMessage(MessageIn &msg)
+void GameHandler::handleMessage(Net::MessageIn &msg)
{
switch (msg.getId())
{
@@ -100,7 +99,7 @@ void GameHandler::disconnect()
void GameHandler::inGame()
{
- Net::GameServer::connect(gameServerConnection, netToken);
+ GameServer::connect(gameServerConnection, netToken);
chatHandler->connect();
}