summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_waypoint.hpp.sq
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-02-21 00:43:18 +0000
committerglx <glx@openttd.org>2009-02-21 00:43:18 +0000
commitab3fc1d4376fd5db464e6f7f9dc244560f099205 (patch)
tree3a4d310d13018512703d4a29573d32a37c7f5f3c /src/ai/api/ai_waypoint.hpp.sq
parent15789a76c147a69853b3bcb0aa592d96fbc7f182 (diff)
downloadopenttd-ab3fc1d4376fd5db464e6f7f9dc244560f099205.tar.xz
(svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs
Diffstat (limited to 'src/ai/api/ai_waypoint.hpp.sq')
-rw-r--r--src/ai/api/ai_waypoint.hpp.sq10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ai/api/ai_waypoint.hpp.sq b/src/ai/api/ai_waypoint.hpp.sq
index 4985e745f..ef17875ac 100644
--- a/src/ai/api/ai_waypoint.hpp.sq
+++ b/src/ai/api/ai_waypoint.hpp.sq
@@ -23,11 +23,11 @@ void SQAIWaypoint_Register(Squirrel *engine) {
SQAIWaypoint.DefSQConst(engine, AIWaypoint::WAYPOINT_INVALID, "WAYPOINT_INVALID");
- SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::IsValidWaypoint, "IsValidWaypoint", 2, "?i");
- SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::GetWaypointID, "GetWaypointID", 2, "?i");
- SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::GetName, "GetName", 2, "?i");
- SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::SetName, "SetName", 3, "?is");
- SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::GetLocation, "GetLocation", 2, "?i");
+ SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::IsValidWaypoint, "IsValidWaypoint", 2, ".i");
+ SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::GetWaypointID, "GetWaypointID", 2, ".i");
+ SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::GetName, "GetName", 2, ".i");
+ SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::SetName, "SetName", 3, ".is");
+ SQAIWaypoint.DefSQStaticMethod(engine, &AIWaypoint::GetLocation, "GetLocation", 2, ".i");
SQAIWaypoint.PostRegister(engine);
}