From e2b690b396cd10806a8d24bc173d8b524dec1603 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Sat, 10 Jan 2015 12:26:48 +0000 Subject: [PATCH] Fix crash when entering object selection --- src/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor.c b/src/editor.c index 23274db7fd..0f0ef83a72 100644 --- a/src/editor.c +++ b/src/editor.c @@ -728,7 +728,7 @@ void editor_open_windows_for_current_step() if (window_find_by_class(49)) return; - if (!(RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_TRACK_MANAGER)) { + if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_TRACK_MANAGER) { object_unload_all(); }