1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

Fix #16922: Unable to place helix ups on certain tracks

Due to heavy reuse of widget index's and dual uses of items this was incorrectly grouped up in the SLOPE_STEEP_UP refactor. The correct way to split up this is to create a HELIX_UP HELIX_DOWN which will be left for a future refactor
This commit is contained in:
Duncan
2022-04-11 18:25:55 +01:00
committed by GitHub
parent 5ecb7a6c6a
commit 4596105aed

View File

@@ -2642,7 +2642,7 @@ static void WindowRideConstructionUpdateWidgets(rct_window* w)
{
// Enable helix
window_ride_construction_widgets[WIDX_SLOPE_DOWN_STEEP].type = WindowWidgetType::FlatBtn;
if (IsTrackEnabled(TRACK_SLOPE_STEEP_UP))
if (rideType != RIDE_TYPE_SPLASH_BOATS && rideType != RIDE_TYPE_RIVER_RAFTS)
window_ride_construction_widgets[WIDX_SLOPE_UP_STEEP].type = WindowWidgetType::FlatBtn;
}
}