diff options
author | yexo <yexo@openttd.org> | 2009-02-20 10:03:16 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-20 10:03:16 +0000 |
commit | 07a37af14c6aaabfc38f1e6533fdc9f0284a55db (patch) | |
tree | 2e63fec39e8bcd41fcd0458cef46ab35ab8d64db /src/ai | |
parent | c5677da94d4851d2b5303d5ae80c5345c7f80d16 (diff) | |
download | openttd-07a37af14c6aaabfc38f1e6533fdc9f0284a55db.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.cpp | 3 |
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); } |