diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/configmanager.cpp | 4 | ||||
-rw-r--r-- | src/defaults.cpp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 6105cc752..013750e15 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -413,7 +413,9 @@ void ConfigManager::checkConfigVersion() if (version < 13) config.setValue("keyWindowBotChecker", -1); - config.setValue("cfgver", 13); + if (version < 14 && config.getIntValue("syncPlayerMoveDistance") == 2) + config.setValue("syncPlayerMoveDistance", 5); + config.setValue("cfgver", 14); } #undef unassignKey diff --git a/src/defaults.cpp b/src/defaults.cpp index 327a4db73..be736f48a 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -103,7 +103,7 @@ DefaultsData* getConfigDefaults() AddDEF("followMode", 0); AddDEF("imitationMode", 0); AddDEF("syncPlayerMove", true); - AddDEF("syncPlayerMoveDistance", 2); + AddDEF("syncPlayerMoveDistance", 5); AddDEF("drawPath", false); AddDEF("moveToTargetType", 10); AddDEF("crazyMoveProgram", "mumrsonmdmlon"); @@ -359,7 +359,7 @@ DefaultsData* getConfigDefaults() AddDEF("uselonglivesprites", false); AddDEF("uselonglivesounds", true); AddDEF("screenDensity", 0); - AddDEF("cfgver", 13); + AddDEF("cfgver", 14); AddDEF("enableDebugLog", false); AddDEF("doubleClick", true); AddDEF("useDiagonalSpeed", true); |