1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Rename members of CurrencyType

This commit is contained in:
Gymnasiast
2025-10-07 20:24:14 +02:00
parent daa4fe8ac3
commit 8457be26e9
8 changed files with 76 additions and 76 deletions

View File

@@ -52,10 +52,10 @@ namespace OpenRCT2::Platform
{
if (currCode == nullptr || strlen(currCode) < 3)
{
return CurrencyType::Pounds;
return CurrencyType::pounds;
}
for (int32_t currency = 0; currency < EnumValue(CurrencyType::Count); ++currency)
for (int32_t currency = 0; currency < EnumValue(CurrencyType::count); ++currency)
{
if (strncmp(currCode, CurrencyDescriptors[currency].isoCode, 3) == 0)
{
@@ -63,7 +63,7 @@ namespace OpenRCT2::Platform
}
}
return CurrencyType::Pounds;
return CurrencyType::pounds;
}
RealWorldDate GetDateLocal()