summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-20 10:03:16 +0000
committeryexo <yexo@openttd.org>2009-02-20 10:03:16 +0000
commitd9caae163592e48ecc5021c14f2c8d5f561c5d9d (patch)
tree2e63fec39e8bcd41fcd0458cef46ab35ab8d64db /src/ai
parente3ac127617f4bc4024d64cd192ab84e1174500eb (diff)
downloadopenttd-d9caae163592e48ecc5021c14f2c8d5f561c5d9d.tar.xz
(svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_instance.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp
index 2030f73e1..6cafc60b6 100644
--- a/src/ai/ai_instance.cpp
+++ b/src/ai/ai_instance.cpp
@@ -227,6 +227,9 @@ void AIInstance::RegisterAPI()
SQAIVehicleList_Register(this->engine);
SQAIVehicleList_SharedOrders_Register(this->engine);
SQAIVehicleList_Station_Register(this->engine);
+ SQAIWaypoint_Register(this->engine);
+ SQAIWaypointList_Register(this->engine);
+ SQAIWaypointList_Vehicle_Register(this->engine);
this->engine->SetGlobalPointer(this->engine);
}