1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Allow opening rides with unsuitable track when "Enable all drawable track pieces" cheat is on. (#10923)

Co-authored-by: Edward Calver <hx010973@reading.ac.uk>
This commit is contained in:
X123M3-256
2020-03-15 13:11:04 +00:00
committed by GitHub
parent 1331283f9a
commit 7219c880e2

View File

@@ -5224,7 +5224,7 @@ int32_t ride_is_valid_for_test(Ride* ride, int32_t status, bool isApplying)
}
}
if (ride->subtype != RIDE_ENTRY_INDEX_NULL)
if (ride->subtype != RIDE_ENTRY_INDEX_NULL && !gCheatsEnableAllDrawableTrackPieces)
{
rct_ride_entry* rideType = get_ride_entry(ride->subtype);
if (rideType->flags & RIDE_ENTRY_FLAG_NO_INVERSIONS)