summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehicle.hpp.sq
diff options
context:
space:
mode:
authorYexo <yexo@openttd.org>2009-02-05 01:12:49 +0000
committerYexo <yexo@openttd.org>2009-02-05 01:12:49 +0000
commit62a11eb5a93a12994bdf84475930d0d4b7fb4315 (patch)
tree6b29d7d897ad9b7e9938b372fd066771967fc2db /src/ai/api/ai_vehicle.hpp.sq
parent364e2a110dba0c792864e55d55804681c8eb9bca (diff)
downloadopenttd-62a11eb5a93a12994bdf84475930d0d4b7fb4315.tar.xz
(svn r15345) -Add [NoAI]: Add AIVehicle::HasSharedOrders() and AIVehicleList_SharedOrders.
Diffstat (limited to 'src/ai/api/ai_vehicle.hpp.sq')
-rw-r--r--src/ai/api/ai_vehicle.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_vehicle.hpp.sq b/src/ai/api/ai_vehicle.hpp.sq
index babb85306..f81124fda 100644
--- a/src/ai/api/ai_vehicle.hpp.sq
+++ b/src/ai/api/ai_vehicle.hpp.sq
@@ -137,6 +137,7 @@ void SQAIVehicle_Register(Squirrel *engine) {
SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::GetCargoLoad, "GetCargoLoad", 3, "xii");
SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::GetGroupID, "GetGroupID", 2, "xi");
SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::IsArticulated, "IsArticulated", 2, "xi");
+ SQAIVehicle.DefSQStaticMethod(engine, &AIVehicle::HasSharedOrders, "HasSharedOrders", 2, "xi");
SQAIVehicle.PostRegister(engine);
}