(svn r18385) -Cleanup: remove the now unneeded multistop slot management code

This commit is contained in:
rubidium
2009-12-02 18:18:56 +00:00
parent c0def29c99
commit 6278f0b8a9
13 changed files with 10 additions and 354 deletions

View File

@@ -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;
}