summaryrefslogtreecommitdiff
path: root/ai/trolly/trolly.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-04 09:10:24 +0000
committertron <tron@openttd.org>2006-06-04 09:10:24 +0000
commit36e31fa41fceb9044d1a4106e6775af7ab04fc8d (patch)
tree7169789e49a59433f674337c2c7505ad5938e746 /ai/trolly/trolly.h
parent3e5ef7319e04711fb29aac135ac6a814af4708a7 (diff)
downloadopenttd-36e31fa41fceb9044d1a4106e6775af7ab04fc8d.tar.xz
(svn r5092) -Fix: There was a gross race condition in the AI code which made it pretty random if the AI could give a new vehicle its orders
Diffstat (limited to 'ai/trolly/trolly.h')
-rw-r--r--ai/trolly/trolly.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ai/trolly/trolly.h b/ai/trolly/trolly.h
index 3e364a2b5..e0d70fbf6 100644
--- a/ai/trolly/trolly.h
+++ b/ai/trolly/trolly.h
@@ -187,6 +187,7 @@ enum {
AI_STATE_BUILD_PATH,
AI_STATE_BUILD_DEPOT,
AI_STATE_BUILD_VEHICLE,
+ AI_STATE_WAIT_FOR_BUILD,
AI_STATE_GIVE_ORDERS,
AI_STATE_START_VEHICLE,
AI_STATE_REPAY_MONEY,