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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user