Fix bug 3198 different vehicles research tree

This commit is contained in:
Marco van Munster 2016-03-30 21:37:42 +02:00
parent d07e471796
commit 8db1f27534
1 changed files with 1 additions and 1 deletions

View File

@ -777,7 +777,6 @@ static void window_editor_object_selection_close(rct_window *w)
if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_EDITOR) {
research_populate_list_random();
research_remove_non_separate_vehicle_types();
}
else {
// Used for in-game object selection cheat
@ -787,6 +786,7 @@ static void window_editor_object_selection_close(rct_window *w)
sub_684AC3();
gSilentResearch = false;
}
research_remove_non_separate_vehicle_types();
window_new_ride_init_vars();
visible_list_dispose();