Remove "Disable vehicle image update" setting

This commit is contained in:
Jonathan G Rennison
2021-05-19 20:42:04 +01:00
parent 7ab6ab7400
commit 3e8ee4f49f
9 changed files with 3 additions and 32 deletions

View File

@@ -405,7 +405,7 @@ struct GroundVehicle : public SpecializedVehicle<T, Type> {
if (this->cur_speed != this->gcache.last_speed) {
SetWindowWidgetDirty(WC_VEHICLE_VIEW, this->index, WID_VV_START_STOP);
this->gcache.last_speed = this->cur_speed;
if (HasBit(this->vcache.cached_veh_flags, VCF_REDRAW_ON_SPEED_CHANGE) && !_settings_client.gui.disable_vehicle_image_update) {
if (HasBit(this->vcache.cached_veh_flags, VCF_REDRAW_ON_SPEED_CHANGE)) {
this->RefreshImageCacheOfChain();
}
}