From 4596105aedfa98edc807613dd81bf0c3f12b5726 Mon Sep 17 00:00:00 2001 From: Duncan Date: Mon, 11 Apr 2022 18:25:55 +0100 Subject: [PATCH] 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 --- src/openrct2-ui/windows/RideConstruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/windows/RideConstruction.cpp b/src/openrct2-ui/windows/RideConstruction.cpp index 568ca4482c..7e1c5acb09 100644 --- a/src/openrct2-ui/windows/RideConstruction.cpp +++ b/src/openrct2-ui/windows/RideConstruction.cpp @@ -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; } }