Fix #4213: FPS decreases with track window

The code must've been from before I got everything working properly,
because removing both these lines does not cause any glitches in
rendering.
This commit is contained in:
Michał Janiszewski 2016-08-04 22:22:12 +02:00 committed by Ted John
parent 0be54fbac3
commit 501f0126fa
1 changed files with 0 additions and 3 deletions

View File

@ -2446,9 +2446,6 @@ static void window_ride_main_invalidate(rct_window *w)
window_ride_main_widgets[WIDX_RIDE_TYPE_APPLY].top = w->height - 17;
window_ride_main_widgets[WIDX_RIDE_TYPE_APPLY].bottom = w->height - 4;
widget_invalidate(w, WIDX_VIEWPORT);
widget_invalidate(w, WIDX_VIEW);
if (!gCheatsAllowArbitraryRideTypeChanges) {
window_ride_main_widgets[WIDX_RIDE_TYPE].type = WWT_EMPTY;
window_ride_main_widgets[WIDX_RIDE_TYPE_INCREASE].type = WWT_EMPTY;