1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix: Cannot build banked turns on the Bobsleigh RC

This commit is contained in:
Gymnasiast
2022-09-21 15:21:28 +02:00
parent 97aec235e7
commit 67c82b75e6

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;