diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-02 21:55:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-02 21:55:12 +0300 |
commit | 453f8dff57c4d4a8f79d16f7f117a77cc719a378 (patch) | |
tree | c550269f2d55abd834eb8551e27b410b41880616 | |
parent | 58e15c3e6f8694ad2dacaa400bc22d9f53c38cde (diff) | |
download | manaplus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.tar.gz manaplus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.tar.bz2 manaplus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.tar.xz manaplus-453f8dff57c4d4a8f79d16f7f117a77cc719a378.zip |
Fix issue detected by valgrind after last changes.
-rw-r--r-- | src/client.cpp | 4 |
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(); |