Codechange: replace INVALID_X with XID::Invalid() for PoolIDs
This commit is contained in:
@@ -666,7 +666,7 @@ private:
|
||||
Order order;
|
||||
order.next = nullptr;
|
||||
order.index = OrderID::Begin();
|
||||
order.MakeGoToDepot(INVALID_DEPOT, ODTFB_PART_OF_ORDERS,
|
||||
order.MakeGoToDepot(DepotID::Invalid(), ODTFB_PART_OF_ORDERS,
|
||||
_settings_client.gui.new_nonstop && this->vehicle->IsGroundVehicle() ? ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS : ONSF_STOP_EVERYWHERE);
|
||||
order.SetDepotActionType(ODATFB_NEAREST_DEPOT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user