1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 19:56:13 +01:00

Merge pull request #1845 from Gymnasiast/fix-ride-construction-crash

Fix crash when attempting to build a new ride when having the Ride construction window open, fixes #1844
This commit is contained in:
Ted John
2015-08-25 18:15:59 +01:00

View File

@@ -931,6 +931,7 @@ static void window_new_ride_select(rct_window *w)
return;
window_close(w);
window_close_construction_windows();
if (ride_type_has_flag(item.type, RIDE_TYPE_FLAG_HAS_TRACK)) {
track_load_list(item);