forked from mirror/OpenTTD
Codechange: Always set the ODATFB_NEAREST_DEPOT flag for 'any depot' orders
This commit is contained in:
committed by
Michael Lutz
parent
4daad7f348
commit
a9a21e784d
@@ -619,7 +619,7 @@ private:
|
||||
Order order;
|
||||
order.next = nullptr;
|
||||
order.index = 0;
|
||||
order.MakeGoToDepot(0, ODTFB_PART_OF_ORDERS,
|
||||
order.MakeGoToDepot(INVALID_DEPOT, 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