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
1 changed files with 6 additions and 0 deletions

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()