summaryrefslogtreecommitdiff
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
commit07a37af14c6aaabfc38f1e6533fdc9f0284a55db (patch)
tree2e63fec39e8bcd41fcd0458cef46ab35ab8d64db
parentc5677da94d4851d2b5303d5ae80c5345c7f80d16 (diff)
downloadopenttd-07a37af14c6aaabfc38f1e6533fdc9f0284a55db.tar.xz
(svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel.
-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);
}