summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-27 12:51:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-27 12:51:24 +0300
commit7055a5c38eee5b0fb390d50bbd82d34bee0387d7 (patch)
tree8c32efce8facd7fca98212c2b9df1bd196e3923e /src/client.cpp
parent23c29784585179ab4181d152c2cbbf8a87f76365 (diff)
downloadplus-7055a5c38eee5b0fb390d50bbd82d34bee0387d7.tar.gz
plus-7055a5c38eee5b0fb390d50bbd82d34bee0387d7.tar.bz2
plus-7055a5c38eee5b0fb390d50bbd82d34bee0387d7.tar.xz
plus-7055a5c38eee5b0fb390d50bbd82d34bee0387d7.zip
Reset for all audio frequency to 44100.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d4ec0fba5..a30fc38c9 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -3125,8 +3125,12 @@ void Client::checkConfigVersion()
if (config.getIntValue("screenJoystickSize") == 1)
config.deleteKey("screenJoystickSize");
}
+ if (version < 3)
+ {
+ config.setValue("audioFrequency", 44100);
+ }
- config.setValue("cfgver", 2);
+ config.setValue("cfgver", 3);
}
Window *Client::openErrorDialog(const std::string &header,