diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-21 21:18:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-21 21:50:54 +0300 |
commit | f8217483ad365e0baee79bcf6166a004bc427bb9 (patch) | |
tree | 1a087e49b16547c71482a66c00715d3dcf84ee29 /src/configmanager.cpp | |
parent | 40dd461c2539caa67a14d64afb62d2b33def58d8 (diff) | |
download | manaplus-f8217483ad365e0baee79bcf6166a004bc427bb9.tar.gz manaplus-f8217483ad365e0baee79bcf6166a004bc427bb9.tar.bz2 manaplus-f8217483ad365e0baee79bcf6166a004bc427bb9.tar.xz manaplus-f8217483ad365e0baee79bcf6166a004bc427bb9.zip |
Set sync player move distance by default to 5.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r-- | src/configmanager.cpp | 4 |
1 files changed, 3 insertions, 1 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 |