summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_order.hpp.sq
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-08-31 22:41:10 +0000
committeryexo <yexo@openttd.org>2011-08-31 22:41:10 +0000
commitec9a9bea3a4d570dab232016b1643570509c4eff (patch)
treebd137ee89fad61b99e8bf930aed60f3725ede91e /src/ai/api/ai_order.hpp.sq
parent9b56713a691ca6a7c01717bf4058a1cbb1a70369 (diff)
downloadopenttd-ec9a9bea3a4d570dab232016b1643570509c4eff.tar.xz
(svn r22861) -Add: [NoAI] support the new conditional order introduced in r22858 (Zuu)
Diffstat (limited to 'src/ai/api/ai_order.hpp.sq')
-rw-r--r--src/ai/api/ai_order.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_order.hpp.sq b/src/ai/api/ai_order.hpp.sq
index dff9d889f..12655e1ca 100644
--- a/src/ai/api/ai_order.hpp.sq
+++ b/src/ai/api/ai_order.hpp.sq
@@ -66,6 +66,7 @@ void SQAIOrder_Register(Squirrel *engine)
SQAIOrder.DefSQConst(engine, AIOrder::OC_AGE, "OC_AGE");
SQAIOrder.DefSQConst(engine, AIOrder::OC_REQUIRES_SERVICE, "OC_REQUIRES_SERVICE");
SQAIOrder.DefSQConst(engine, AIOrder::OC_UNCONDITIONALLY, "OC_UNCONDITIONALLY");
+ SQAIOrder.DefSQConst(engine, AIOrder::OC_REMAINING_LIFETIME, "OC_REMAINING_LIFETIME");
SQAIOrder.DefSQConst(engine, AIOrder::OC_INVALID, "OC_INVALID");
SQAIOrder.DefSQConst(engine, AIOrder::CF_EQUALS, "CF_EQUALS");
SQAIOrder.DefSQConst(engine, AIOrder::CF_NOT_EQUALS, "CF_NOT_EQUALS");