From 09c37d6465ae8f4ed2fe84cb8e8d8c080c931f54 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 29 Oct 2016 14:48:28 +0100 Subject: [PATCH] Fix #4713: preserved rides tab in the wrong tool? Ride check for showing the preserved rides tab was the wrong way round. --- src/windows/editor_objective_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/editor_objective_options.c b/src/windows/editor_objective_options.c index 3a2a393ff9..be441223da 100644 --- a/src/windows/editor_objective_options.c +++ b/src/windows/editor_objective_options.c @@ -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);