summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-29 00:57:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-29 01:03:34 +0300
commit67f2e99a6ceafdd1152ff4f5e54e7f8863331d41 (patch)
tree5ea686645cc904f8a67d0ea5a051aecb102a7bc9 /src
parentdbc30204cae020ff0be41fb8f20bbb3a531686b3 (diff)
downloadmanaverse-67f2e99a6ceafdd1152ff4f5e54e7f8863331d41.tar.gz
manaverse-67f2e99a6ceafdd1152ff4f5e54e7f8863331d41.tar.bz2
manaverse-67f2e99a6ceafdd1152ff4f5e54e7f8863331d41.tar.xz
manaverse-67f2e99a6ceafdd1152ff4f5e54e7f8863331d41.zip
Disable texture bluring in old configurations.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp4
-rw-r--r--src/defaults.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 85384b29d..c0cf22b56 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2976,8 +2976,10 @@ void Client::checkConfigVersion()
Being::NO_NAME_IN_BUBBLE));
}
}
+ if (version < 6)
+ config.setValue("blur", false);
- config.setValue("cfgver", 5);
+ config.setValue("cfgver", 6);
}
Window *Client::openErrorDialog(const std::string &header,
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 4e8a2246a..98ef24f7f 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -345,7 +345,7 @@ DefaultsData* getConfigDefaults()
AddDEF("uselonglivesprites", false);
AddDEF("uselonglivesounds", true);
AddDEF("screenDensity", 0);
- AddDEF("cfgver", 4);
+ AddDEF("cfgver", 6);
AddDEF("enableDebugLog", false);
AddDEF("doubleClick", true);
AddDEF("useDiagonalSpeed", true);