mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Fix #10694: Lift hill speed of the Flying RC cannot be changed
This commit is contained in:
parent
8c6bfdd199
commit
e16a53df1d
2 changed files with 6 additions and 2 deletions
|
@ -22,6 +22,7 @@
|
|||
- Fix: [#10489] Hosts last player action not being synchronized.
|
||||
- Fix: [#10543] Secondary shop item prices are not imported correctly from RCT1 saves.
|
||||
- Fix: [#10547] RCT1 parks have too many rides available.
|
||||
- Fix: [#10694] The lift hill speed of the flying roller coaster cannot be changed (original bug).
|
||||
- Fix: [#10705] Apply multithreaded rendering to all viewports.
|
||||
- Fix: [#10739] Mountain tool overlay for even-numbered selections.
|
||||
- Removed: [#6898] LOADMM and LOADRCT1 title sequence commands (use LOADSC instead).
|
||||
|
|
|
@ -3638,8 +3638,11 @@ static void window_ride_operating_invalidate(rct_window* w)
|
|||
| (1ULL << WIDX_MINIMUM_LENGTH_CHECKBOX) | (1ULL << WIDX_MAXIMUM_LENGTH_CHECKBOX)
|
||||
| (1ULL << WIDX_SYNCHRONISE_WITH_ADJACENT_STATIONS_CHECKBOX));
|
||||
|
||||
// Lift hill speed
|
||||
if (track_piece_is_available_for_ride_type(ride->type, TRACK_LIFT_HILL))
|
||||
// Sometimes, only one of the alternatives support lift hill pieces. Make sure to check both.
|
||||
bool hasAlternativeType = (RideData4[ride->type].flags & RIDE_TYPE_FLAG4_HAS_ALTERNATIVE_TRACK_TYPE) != 0;
|
||||
if (track_piece_is_available_for_ride_type(ride->type, TRACK_LIFT_HILL)
|
||||
|| (hasAlternativeType
|
||||
&& track_piece_is_available_for_ride_type(RideData4[ride->type].alternate_type, TRACK_LIFT_HILL)))
|
||||
{
|
||||
window_ride_operating_widgets[WIDX_LIFT_HILL_SPEED_LABEL].type = WWT_LABEL;
|
||||
window_ride_operating_widgets[WIDX_LIFT_HILL_SPEED].type = WWT_SPINNER;
|
||||
|
|
Loading…
Reference in a new issue