1
0
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:
Ted John
2016-10-29 14:48:28 +01:00
parent aabee64cec
commit 09c37d6465

View File

@@ -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);