From 67f2e99a6ceafdd1152ff4f5e54e7f8863331d41 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Jan 2014 00:57:58 +0300 Subject: Disable texture bluring in old configurations. --- src/client.cpp | 4 +++- src/defaults.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2