mirror of https://github.com/OpenTTD/OpenTTD
(svn r21465) -Cleanup [FS#4295]: remove some dead code (fonsinchen)
parent
2a62be547a
commit
fc70825905
|
@ -1568,8 +1568,6 @@ static void CheckIfRoadVehNeedsService(RoadVehicle *v)
|
|||
return;
|
||||
}
|
||||
|
||||
if (v->current_order.IsType(OT_LOADING)) v->LeaveStation();
|
||||
|
||||
v->current_order.MakeGoToDepot(depot, ODTFB_SERVICE);
|
||||
v->dest_tile = rfdd.tile;
|
||||
SetWindowWidgetDirty(WC_VEHICLE_VIEW, v->index, VVW_WIDGET_START_STOP_VEH);
|
||||
|
|
Loading…
Reference in New Issue