Fix: artifacts when changing ride type as client or using the in-game console (#9202)

This commit is contained in:
Hielke Morsink 2019-05-04 12:31:10 +02:00 committed by Ted John
parent c7afad7d49
commit 5e9e7bcbe5
2 changed files with 1 additions and 1 deletions

View File

@ -2435,7 +2435,6 @@ static void window_ride_main_dropdown(rct_window* w, rct_widgetindex widgetIndex
{
set_operating_setting(w->number, RideSetSetting::RideType, rideType);
}
window_invalidate_all();
}
}
}

View File

@ -243,6 +243,7 @@ public:
break;
case RideSetSetting::RideType:
ride->type = _value;
gfx_invalidate_screen();
break;
}