1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Set NO_MONEY_SCENARIO flag when importing SC4 scenarios without money, fixes #3459

This commit is contained in:
Gymnasiast
2016-05-16 10:50:56 +02:00
parent eb19ca8626
commit b72aac9fbf

View File

@@ -996,6 +996,12 @@ void S4Importer::ImportParkFlags()
{
gCheatsUnlockAllPrices = true;
}
// RCT2 uses two flags for no money (for cheat detection). RCT1 used only one.
// Copy its value to make no money scenarios such as Arid Heights work properly.
if (_s4.park_flags & PARK_FLAGS_NO_MONEY)
{
gParkFlags |= PARK_FLAGS_NO_MONEY_SCENARIO;
}
}
void S4Importer::ImportClimate()