summaryrefslogtreecommitdiff
path: root/src/net/eathena/gamehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/gamehandler.cpp')
-rw-r--r--src/net/eathena/gamehandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index a380f43e5..0a97aa6f1 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -57,7 +57,7 @@ void GameHandler::mapLoadedEvent() const
createOutPacket(CMSG_MAP_LOADED);
}
-void GameHandler::connect()
+void GameHandler::connect() const
{
if (!Network::mInstance)
return;
@@ -108,7 +108,7 @@ bool GameHandler::isConnected() const
return Network::mInstance->isConnected();
}
-void GameHandler::disconnect()
+void GameHandler::disconnect() const
{
if (Network::mInstance)
Network::mInstance->disconnect();