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

Remove one check for RIDE_TYPE_CHAIRLIFT

This commit is contained in:
Gymnasiast
2024-11-23 00:05:31 +01:00
parent 11fba79e89
commit ad0dfc6f0a

View File

@@ -2760,8 +2760,9 @@ namespace OpenRCT2::Ui::Windows
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
|| (currentRideEntry->Cars[0].flags & CAR_ENTRY_FLAG_SLIDE_SWING))
auto& firstCar = currentRideEntry->Cars[0];
if (firstCar.PaintStyle != VEHICLE_VISUAL_DEFAULT || (firstCar.flags & CAR_ENTRY_FLAG_CHAIRLIFT)
|| (firstCar.flags & CAR_ENTRY_FLAG_SLIDE_SWING))
{
disabledGroups.reset();
break;