mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 10:29:10 +00:00
(svn r21465) -Cleanup [FS#4295]: remove some dead code (fonsinchen)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user