summaryrefslogtreecommitdiff
path: root/src/order_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-11 15:58:46 +0000
committerrubidium <rubidium@openttd.org>2008-04-11 15:58:46 +0000
commitcebe2001ba37fc7fb246404329063d324125faa7 (patch)
tree75b2ce202d816827b4568b0bd0659c211f84cd08 /src/order_type.h
parent3919c30c2d6fbdeef2b75192b12d01c4eee4d2f9 (diff)
downloadopenttd-cebe2001ba37fc7fb246404329063d324125faa7.tar.xz
(svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot.
Diffstat (limited to 'src/order_type.h')
-rw-r--r--src/order_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/order_type.h b/src/order_type.h
index b2d3ac67e..a6273e684 100644
--- a/src/order_type.h
+++ b/src/order_type.h
@@ -82,6 +82,7 @@ enum OrderDepotTypeFlags {
enum OrderDepotActionFlags {
ODATF_SERVICE_ONLY = 0, ///< Only service the vehicle.
ODATFB_HALT = 1 << 0, ///< Service the vehicle and then halt it.
+ ODATFB_NEAREST_DEPOT = 1 << 1, ///< Send the vehicle to the nearest depot.
};
/**