(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
This commit is contained in:
@@ -788,8 +788,6 @@ CommandCost CmdSkipToOrder(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
|
||||
if (flags & DC_EXEC) {
|
||||
v->cur_order_index = sel_ord;
|
||||
|
||||
if (v->type == VEH_ROAD) ClearSlot(RoadVehicle::From(v));
|
||||
|
||||
if (v->current_order.IsType(OT_LOADING)) v->LeaveStation();
|
||||
|
||||
InvalidateVehicleOrder(v, -2);
|
||||
@@ -1794,7 +1792,6 @@ bool ProcessOrders(Vehicle *v)
|
||||
|
||||
v->current_order.Free();
|
||||
v->dest_tile = 0;
|
||||
if (v->type == VEH_ROAD) ClearSlot(RoadVehicle::From(v));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user