summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-17 11:27:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-17 11:27:01 +0300
commit4dc4d7945eb4797254c422d24068d5fe94f400bd (patch)
treeb203973c504024d2eb11b45d8c5b30030bbc43da
parent8edaf89adfcf0375f42cd2c4137d1eab425c2c62 (diff)
downloadplus-4dc4d7945eb4797254c422d24068d5fe94f400bd.tar.gz
plus-4dc4d7945eb4797254c422d24068d5fe94f400bd.tar.bz2
plus-4dc4d7945eb4797254c422d24068d5fe94f400bd.tar.xz
plus-4dc4d7945eb4797254c422d24068d5fe94f400bd.zip
For old configuration restore move to target distance to attack range.
-rw-r--r--src/configmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index b16a366c7..893a7f12b 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -315,7 +315,10 @@ void ConfigManager::checkConfigVersion()
config.setValue("download-music", true);
if (version < 9)
+ {
config.deleteKey("videodetected");
+ config.setValue("moveToTargetType", 10);
+ }
config.setValue("cfgver", 9);
}