diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-10-23 11:13:53 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-10-26 12:28:03 +0200 |
commit | f0f2496a25cedc0cf9076491ccaccab0647e16f5 (patch) | |
tree | 98ad9ea81011d2e9120d4880dc6e2822b48ba781 /src/defaults.cpp | |
parent | c6bb66d3bb2d6ee29bd115ccad281c70d7d24177 (diff) | |
download | mana-f0f2496a25cedc0cf9076491ccaccab0647e16f5.tar.gz mana-f0f2496a25cedc0cf9076491ccaccab0647e16f5.tar.bz2 mana-f0f2496a25cedc0cf9076491ccaccab0647e16f5.tar.xz mana-f0f2496a25cedc0cf9076491ccaccab0647e16f5.zip |
Fixed FPS limit being enabled by default
There were some inconsistencies between the values set up in
`Client::initConfiguration` and those in `getConfigDefaults`. These
duplicates have now been removed.
For some of these settings the code getting the values had to be
adjusted to use getBoolValue, to actually rely on the provided default
instead of one provided as a parameter.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 3c03355a..b17ba350 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -82,11 +82,11 @@ DefaultsData* getConfigDefaults() AddDEF(configData, "screenheight", defaultScreenHeight); AddDEF(configData, "scale", 0); AddDEF(configData, "vsync", true); - AddDEF(configData, "sound", false); + AddDEF(configData, "sound", true); AddDEF(configData, "sfxVolume", 100); AddDEF(configData, "notificationsVolume", 100); AddDEF(configData, "musicVolume", 60); - AddDEF(configData, "remember", false); + AddDEF(configData, "remember", true); AddDEF(configData, "username", ""); AddDEF(configData, "lastCharacter", ""); AddDEF(configData, "fpslimit", 0); @@ -103,7 +103,7 @@ DefaultsData* getConfigDefaults() AddDEF(configData, "logNpcInGui", true); AddDEF(configData, "download-music", false); AddDEF(configData, "guialpha", 0.8f); - AddDEF(configData, "ChatLogLength", 0); + AddDEF(configData, "ChatLogLength", 128); AddDEF(configData, "enableChatLog", false); AddDEF(configData, "whispertab", true); AddDEF(configData, "customcursor", true); |