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