1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix crash when entering object selection

This commit is contained in:
Duncan Frost
2015-01-10 12:26:48 +00:00
parent 8b0913b045
commit e2b690b396

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