mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
Fix #4713: preserved rides tab in the wrong tool?
Ride check for showing the preserved rides tab was the wrong way round.
This commit is contained in:
@@ -1246,7 +1246,7 @@ static void window_editor_objective_options_update_disabled_widgets(rct_window *
|
||||
}
|
||||
}
|
||||
|
||||
if (numRides == 0) {
|
||||
if (numRides != 0) {
|
||||
w->disabled_widgets &= ~(1 << WIDX_TAB_2);
|
||||
} else {
|
||||
w->disabled_widgets |= (1 << WIDX_TAB_2);
|
||||
|
||||
Reference in New Issue
Block a user