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 committed 2016-10-29 14:48:28 +01:00
1 parent aabee64cec
commit 09c37d6465
1 file changed
+1 -1
+1 -1
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);