equal
deleted
inserted
replaced
81 { |
81 { |
82 /* Clear the tile */ |
82 /* Clear the tile */ |
83 DoClearSquare(depot->xy); |
83 DoClearSquare(depot->xy); |
84 |
84 |
85 /* Clear the depot from all order-lists */ |
85 /* Clear the depot from all order-lists */ |
86 RemoveOrderFromAllVehicles(OT_GOTO_DEPOT, depot->index); |
86 RemoveOrderFromAllVehicles(OT_GOTO_DEPOT, (DestinationID)depot->index); |
87 |
87 |
88 /* Delete the depot-window */ |
88 /* Delete the depot-window */ |
89 DeleteWindowById(WC_VEHICLE_DEPOT, depot->xy); |
89 DeleteWindowById(WC_VEHICLE_DEPOT, depot->xy); |
90 } |
90 } |
91 |
91 |