summaryrefslogtreecommitdiff
path: root/src/order_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-11-21 18:16:19 +0000
committerrubidium <rubidium@openttd.org>2008-11-21 18:16:19 +0000
commit2209c6a344328040757e84a38c36427ed214875a (patch)
treececf0557a5f2388bd9f53d7a35143c6bf52b53ef /src/order_base.h
parentbc88d7d9b06224efb2f44cab82b5ca2206f32239 (diff)
downloadopenttd-2209c6a344328040757e84a38c36427ed214875a.tar.xz
(svn r14601) -Fix: the nearest depot and stop in depot orders didn't work together (the vehicle didn't stop).
Diffstat (limited to 'src/order_base.h')
-rw-r--r--src/order_base.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/order_base.h b/src/order_base.h
index 39c6f1826..8462ec8e8 100644
--- a/src/order_base.h
+++ b/src/order_base.h
@@ -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.