mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix bug 3198 different vehicles research tree
This commit is contained in:
parent
d07e471796
commit
8db1f27534
|
@ -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) {
|
if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_EDITOR) {
|
||||||
research_populate_list_random();
|
research_populate_list_random();
|
||||||
research_remove_non_separate_vehicle_types();
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Used for in-game object selection cheat
|
// Used for in-game object selection cheat
|
||||||
|
@ -787,6 +786,7 @@ static void window_editor_object_selection_close(rct_window *w)
|
||||||
sub_684AC3();
|
sub_684AC3();
|
||||||
gSilentResearch = false;
|
gSilentResearch = false;
|
||||||
}
|
}
|
||||||
|
research_remove_non_separate_vehicle_types();
|
||||||
window_new_ride_init_vars();
|
window_new_ride_init_vars();
|
||||||
|
|
||||||
visible_list_dispose();
|
visible_list_dispose();
|
||||||
|
|
Loading…
Reference in New Issue