summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 10:41:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 10:41:59 +0300
commit38b46ebb02bbe307765aa9a456b587eafd3dfd7e (patch)
treed096b453db8708d8239a4255a9d626eb8bb0f681 /src/game.cpp
parent9cdbed6c562f95e24e02f49630386f8b18884a02 (diff)
downloadmv-38b46ebb02bbe307765aa9a456b587eafd3dfd7e.tar.gz
mv-38b46ebb02bbe307765aa9a456b587eafd3dfd7e.tar.bz2
mv-38b46ebb02bbe307765aa9a456b587eafd3dfd7e.tar.xz
mv-38b46ebb02bbe307765aa9a456b587eafd3dfd7e.zip
Remove getter for generalHandler.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index b57b02f2c..44bb258bb 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -289,7 +289,7 @@ static void createGuiWindows()
if (localPlayer)
localPlayer->updateStatus();
- Net::getGeneralHandler()->gameStarted();
+ generalHandler->gameStarted();
}
/**
@@ -297,7 +297,7 @@ static void createGuiWindows()
*/
static void destroyGuiWindows()
{
- Net::getGeneralHandler()->gameEnded();
+ generalHandler->gameEnded();
if (whoIsOnline)
whoIsOnline->setAllowUpdate(false);