1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Upgrade platform_get_locale_currency()

This commit is contained in:
Gymnasiast
2022-01-08 12:24:57 +01:00
parent 12034b2d36
commit 3f22b60f94
12 changed files with 60 additions and 60 deletions

View File

@@ -151,7 +151,7 @@ namespace Config
model->autosave_amount = reader->GetInt32("autosave_amount", DEFAULT_NUM_AUTOSAVES_TO_KEEP);
model->confirmation_prompt = reader->GetBoolean("confirmation_prompt", false);
model->currency_format = reader->GetEnum<CurrencyType>(
"currency_format", platform_get_locale_currency(), Enum_Currency);
"currency_format", Platform::GetLocaleCurrency(), Enum_Currency);
model->custom_currency_rate = reader->GetInt32("custom_currency_rate", 10);
model->custom_currency_affix = reader->GetEnum<CurrencyAffix>(
"custom_currency_affix", CurrencyAffix::Suffix, Enum_CurrencySymbolAffix);