summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_order.hpp.sq
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-03-12 11:43:40 +0000
committeryexo <yexo@openttd.org>2009-03-12 11:43:40 +0000
commitcef662825b27f5c934efeadd6112888e8b97a061 (patch)
tree036f263970898122c11bfe14edff539e64fb1b9e /src/ai/api/ai_order.hpp.sq
parent9eef8f77e2ed4a8fe297b70feb69cf311b906a91 (diff)
downloadopenttd-cef662825b27f5c934efeadd6112888e8b97a061.tar.xz
(svn r15684) -Add [NoAI]: AIOrder::SkipToOrder().
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 388fec391..3164c1098 100644
--- a/src/ai/api/ai_order.hpp.sq
+++ b/src/ai/api/ai_order.hpp.sq
@@ -95,6 +95,7 @@ void SQAIOrder_Register(Squirrel *engine) {
SQAIOrder.DefSQStaticMethod(engine, &AIOrder::SetOrderFlags, "SetOrderFlags", 4, ".iii");
SQAIOrder.DefSQStaticMethod(engine, &AIOrder::ChangeOrder, "ChangeOrder", 4, ".iii");
SQAIOrder.DefSQStaticMethod(engine, &AIOrder::MoveOrder, "MoveOrder", 4, ".iii");
+ SQAIOrder.DefSQStaticMethod(engine, &AIOrder::SkipToOrder, "SkipToOrder", 3, ".ii");
SQAIOrder.DefSQStaticMethod(engine, &AIOrder::CopyOrders, "CopyOrders", 3, ".ii");
SQAIOrder.DefSQStaticMethod(engine, &AIOrder::ShareOrders, "ShareOrders", 3, ".ii");
SQAIOrder.DefSQStaticMethod(engine, &AIOrder::UnshareOrders, "UnshareOrders", 2, ".i");