From 7219c880e2db58a8a8d85cafafb5958a09512107 Mon Sep 17 00:00:00 2001 From: X123M3-256 Date: Sun, 15 Mar 2020 13:11:04 +0000 Subject: [PATCH] Allow opening rides with unsuitable track when "Enable all drawable track pieces" cheat is on. (#10923) Co-authored-by: Edward Calver --- src/openrct2/ride/Ride.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/ride/Ride.cpp b/src/openrct2/ride/Ride.cpp index ba099d9977..55bf3bd7f1 100644 --- a/src/openrct2/ride/Ride.cpp +++ b/src/openrct2/ride/Ride.cpp @@ -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)