1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Fix #4958: Assertion when opening ride window to R&D

This commit is contained in:
Ted John
2017-01-01 20:07:28 +00:00
parent 30c738e91c
commit e0babbf7c2

View File

@@ -454,7 +454,10 @@ rct_window *window_new_ride_open()
w->width = 1;
window_new_ride_refresh_widget_sizing(w);
window_new_ride_scroll_to_focused_ride(w);
if (_windowNewRideCurrentTab != WINDOW_NEW_RIDE_PAGE_RESEARCH) {
window_new_ride_scroll_to_focused_ride(w);
}
return w;
}