Fix #22038: Upward helix button missing

This commit is contained in:
spacek531 2024-05-16 03:53:55 -07:00 committed by GitHub
parent 288575c4ff
commit 6ba33b735a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1698,7 +1698,7 @@ static Widget _rideConstructionWidgets[] = {
{
// Enable helix
widgets[WIDX_SLOPE_DOWN_STEEP].type = WindowWidgetType::FlatBtn;
if (IsTrackEnabled(TRACK_SLOPE_STEEP_UP))
if (IsTrackEnabled(TRACK_HELIX_UP_BANKED_HALF))
widgets[WIDX_SLOPE_UP_STEEP].type = WindowWidgetType::FlatBtn;
}
}