Fix: Cannot build banked turns on the Bobsleigh RC

This commit is contained in:
Gymnasiast committed 2022-09-21 15:21:28 +02:00
1 parent 97aec235e7
commit 67c82b75e6
1 file changed
+2 -1
+2 -1
View File
@@ -2736,7 +2736,8 @@ static void WindowRideConstructionUpdateDisabledPieces(ObjectEntryIndex rideType
continue;
// Non-default vehicle visuals do not use this system, so we have to assume it supports all the track pieces.
if (currentRideEntry->Cars[0].PaintStyle != VEHICLE_VISUAL_DEFAULT || rideType == RIDE_TYPE_CHAIRLIFT)
if (currentRideEntry->Cars[0].PaintStyle != VEHICLE_VISUAL_DEFAULT || rideType == RIDE_TYPE_CHAIRLIFT
|| (currentRideEntry->Cars[0].flags & CAR_ENTRY_FLAG_SLIDE_SWING))
{
disabledPieces.reset();
break;