diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-09 00:54:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-09 00:56:44 +0300 |
commit | 4c90395b1b42d436545b33a855ef431f5ede6a9b (patch) | |
tree | 78b995b63753e8c88fa811b7840e4b1f7b27a40b | |
parent | e5225e0277fd3f17faa3d9f173f0e5f6951052c1 (diff) | |
download | mv-4c90395b1b42d436545b33a855ef431f5ede6a9b.tar.gz mv-4c90395b1b42d436545b33a855ef431f5ede6a9b.tar.bz2 mv-4c90395b1b42d436545b33a855ef431f5ede6a9b.tar.xz mv-4c90395b1b42d436545b33a855ef431f5ede6a9b.zip |
enable download music by default.
-rw-r--r-- | src/client.cpp | 5 | ||||
-rw-r--r-- | src/defaults.cpp | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp index e767038e8..00da29af0 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2969,7 +2969,10 @@ void Client::checkConfigVersion() if (version < 6) config.setValue("blur", false); - config.setValue("cfgver", 6); + if (version < 7) + config.setValue("download-music", true); + + config.setValue("cfgver", 7); } Window *Client::openErrorDialog(const std::string &header, diff --git a/src/defaults.cpp b/src/defaults.cpp index 1ca281f7c..1d550c68d 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -163,7 +163,7 @@ DefaultsData* getConfigDefaults() AddDEF("leftTolerance", 100); AddDEF("rightTolerance", 100); AddDEF("logNpcInGui", true); - AddDEF("download-music", false); + AddDEF("download-music", true); AddDEF("guialpha", 0.8F); AddDEF("ChatLogLength", 0); AddDEF("enableChatLog", true); @@ -346,7 +346,7 @@ DefaultsData* getConfigDefaults() AddDEF("uselonglivesprites", false); AddDEF("uselonglivesounds", true); AddDEF("screenDensity", 0); - AddDEF("cfgver", 6); + AddDEF("cfgver", 7); AddDEF("enableDebugLog", false); AddDEF("doubleClick", true); AddDEF("useDiagonalSpeed", true); |