(svn r14601) -Fix: the nearest depot and stop in depot orders didn't work together (the vehicle didn't stop).

This commit is contained in:
rubidium
2008-11-21 18:16:19 +00:00
parent ac66332b3c
commit 155a2ca1f4
2 changed files with 5 additions and 4 deletions

View File

@@ -84,10 +84,11 @@ public:
* Makes this order a Go To Depot order.
* @param destination the depot to go to.
* @param order is this order a 'default' order, or an overriden vehicle order?
* @param action what to do in the depot?
* @param cargo the cargo type to change to.
* @param subtype the subtype to change to.
*/
void MakeGoToDepot(DepotID destination, OrderDepotTypeFlags order, CargoID cargo = CT_NO_REFIT, byte subtype = 0);
void MakeGoToDepot(DepotID destination, OrderDepotTypeFlags order, OrderDepotActionFlags action = ODATF_SERVICE_ONLY, CargoID cargo = CT_NO_REFIT, byte subtype = 0);
/**
* Makes this order a Go To Waypoint order.