Merge pull request #679 from duncanspumpkin/fix_editor

Fix editor object crash
This commit is contained in:
Ted John 2015-01-10 13:03:19 +00:00
commit 5859af1d1b
1 changed files with 1 additions and 1 deletions

View File

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