1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Rename global config functions to use TitleCase

This commit is contained in:
Hielke Morsink
2022-10-16 18:00:03 +02:00
parent f9d1f024c2
commit 5fa53ad528
27 changed files with 143 additions and 143 deletions

View File

@@ -189,7 +189,7 @@ void window_set_window_limit(int32_t value)
int32_t prev = gConfigGeneral.WindowLimit;
int32_t val = std::clamp(value, WINDOW_LIMIT_MIN, WINDOW_LIMIT_MAX);
gConfigGeneral.WindowLimit = val;
config_save_default();
ConfigSaveDefault();
// Checks if value decreases and then closes surplus
// windows if one sets a limit lower than the number of windows open
if (val < prev)