mirror of https://github.com/OpenRCT2/OpenRCT2.git
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:
parent
1331283f9a
commit
7219c880e2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue