summaryrefslogtreecommitdiff
path: root/src/order_type.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-12-16 21:31:21 +0000
committeryexo <yexo@openttd.org>2009-12-16 21:31:21 +0000
commit04dfadc523485ceb8de49e4fcdf79f7d0ba5d7e3 (patch)
tree18730062f933be8a148b3ae4760d5ba5ef8023a5 /src/order_type.h
parent0b9e7335607762f6bb893becd4c8ff1d9a62f57c (diff)
downloadopenttd-04dfadc523485ceb8de49e4fcdf79f7d0ba5d7e3.tar.xz
(svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest depot orders
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 38b558105..52940ba39 100644
--- a/src/order_type.h
+++ b/src/order_type.h
@@ -103,6 +103,7 @@ enum OrderDepotActionFlags {
ODATFB_HALT = 1 << 0, ///< Service the vehicle and then halt it.
ODATFB_NEAREST_DEPOT = 1 << 1, ///< Send the vehicle to the nearest depot.
};
+DECLARE_ENUM_AS_BIT_SET(OrderDepotActionFlags);
/**
* Variables (of a vehicle) to 'cause' skipping on.