diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-17 11:27:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-17 11:27:01 +0300 |
commit | 4dc4d7945eb4797254c422d24068d5fe94f400bd (patch) | |
tree | b203973c504024d2eb11b45d8c5b30030bbc43da /src/configmanager.cpp | |
parent | 8edaf89adfcf0375f42cd2c4137d1eab425c2c62 (diff) | |
download | manaplus-4dc4d7945eb4797254c422d24068d5fe94f400bd.tar.gz manaplus-4dc4d7945eb4797254c422d24068d5fe94f400bd.tar.bz2 manaplus-4dc4d7945eb4797254c422d24068d5fe94f400bd.tar.xz manaplus-4dc4d7945eb4797254c422d24068d5fe94f400bd.zip |
For old configuration restore move to target distance to attack range.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r-- | src/configmanager.cpp | 3 |
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); } |