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
commit877c7e34a52874eab1eb7e2a0ed15a007390d1df (patch)
tree7169789e49a59433f674337c2c7505ad5938e746 /ai/trolly/trolly.h
parent7dff47b7f09d0b9dfbaeaf2445d54075e83e5ed9 (diff)
downloadopenttd-877c7e34a52874eab1eb7e2a0ed15a007390d1df.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,