summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-11 01:15:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-11 01:15:25 +0300
commitcddb3dd72f0fdf4639270596b3bcc252b3216c3a (patch)
tree8941d557f9b9fe27c9f8dbb2f4a9ddee26624871 /src/game.cpp
parentfcd7af5db04ada44f9351ed7c1cac5b19001ace8 (diff)
downloadManaVerse-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.gz
ManaVerse-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.bz2
ManaVerse-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.xz
ManaVerse-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.zip
Hide on screen buttons before enter to game and show in game.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f2b88769f..57b855a18 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -42,6 +42,7 @@
#include "playerinfo.h"
#include "soundmanager.h"
#include "spellshortcut.h"
+#include "touchmanager.h"
#include "gui/botcheckerwindow.h"
#include "gui/debugwindow.h"
@@ -377,6 +378,7 @@ Game::Game():
mLowerCounter(0),
mPing(0)
{
+ touchManager.setInGame(true);
spellManager = new SpellManager;
spellShortcut = new SpellShortcut;
@@ -438,6 +440,7 @@ Game::Game():
Game::~Game()
{
+ touchManager.setInGame(false);
config.write();
serverConfig.write();