summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-12-28 12:12:57 +0000
committersmatz <smatz@openttd.org>2009-12-28 12:12:57 +0000
commitf60b3a28d68122aa9e4f7ac87d9bd1089a51acb9 (patch)
treebdd3b08d8cfb39c45bc2530330e0f4b1b00095f0 /src/ai
parent96a5db36f8daab9b04f49c05498e71410e7e75bc (diff)
downloadopenttd-f60b3a28d68122aa9e4f7ac87d9bd1089a51acb9.tar.xz
(svn r18651) -Fix [FS#3438](r18518): [NoAI] When AI tried to create NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/api/ai_order.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_order.hpp b/src/ai/api/ai_order.hpp
index a0dd69bd8..53ce0d261 100644
--- a/src/ai/api/ai_order.hpp
+++ b/src/ai/api/ai_order.hpp
@@ -67,7 +67,7 @@ public:
/** Stop in the depot instead of only go there for servicing; only for depots. */
AIOF_STOP_IN_DEPOT = 1 << 3,
/** Go to nearest depot. */
- AIOF_GOTO_NEAREST_DEPOT = 1 << 4,
+ AIOF_GOTO_NEAREST_DEPOT = 1 << 8,
/** All flags related to non-stop settings. */
AIOF_NON_STOP_FLAGS = AIOF_NON_STOP_INTERMEDIATE | AIOF_NON_STOP_DESTINATION,