diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 8242898ac3..93c27134c3 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -1,5 +1,6 @@ 0.4.21 (in development) ------------------------------------------------------------------------ +- Fix: [#4225] Ride Construction window offers non-existent banked sloped to level curve. 0.4.20 (2025-02-25) ------------------------------------------------------------------------ diff --git a/src/openrct2-ui/windows/RideConstruction.cpp b/src/openrct2-ui/windows/RideConstruction.cpp index 772e70ac37..5b89937260 100644 --- a/src/openrct2-ui/windows/RideConstruction.cpp +++ b/src/openrct2-ui/windows/RideConstruction.cpp @@ -669,6 +669,12 @@ namespace OpenRCT2::Ui::Windows { disabledWidgets |= (1uLL << WIDX_CHAIN_LIFT); } + // Ensures that you can build an "unbanking turn", but not select a turn that start banked and + // turns to level (as that does not exist). + if (_currentTrackRollEnd != TrackRoll::None && _currentTrackPitchEnd != TrackPitch::None) + { + disabledWidgets |= (1uLL << WIDX_LEVEL); + } } if (_currentTrackPitchEnd == TrackPitch::Up90 || _previousTrackPitchEnd == TrackPitch::Up90) {