summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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,