summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-02 21:55:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-02 21:55:12 +0300
commit453f8dff57c4d4a8f79d16f7f117a77cc719a378 (patch)
treec550269f2d55abd834eb8551e27b410b41880616 /src
parent58e15c3e6f8694ad2dacaa400bc22d9f53c38cde (diff)
downloadplus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.tar.gz
plus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.tar.bz2
plus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.tar.xz
plus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.zip
Fix issue detected by valgrind after last changes.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 761a1424f..9cd427ab8 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -300,8 +300,6 @@ void Client::gameInit()
logger->setDebugLog(config.getBoolValue("debugLog"));
logger->setReportUnimplimented(config.getBoolValue("unimplimentedLog"));
- touchManager.init();
-
config.incValue("runcount");
#ifndef ANDROID
@@ -382,6 +380,8 @@ void Client::gameInit()
updateEnv();
initGraphics();
+ touchManager.init();
+
#ifndef WIN32
Dirs::extractDataDir();
Dirs::mountDataDir();