summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_error.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_error.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_error.hpp.sq')
-rw-r--r--src/ai/api/ai_error.hpp.sq6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ai/api/ai_error.hpp.sq b/src/ai/api/ai_error.hpp.sq
index 0ce1cfed4..e5752bf9b 100644
--- a/src/ai/api/ai_error.hpp.sq
+++ b/src/ai/api/ai_error.hpp.sq
@@ -109,9 +109,9 @@ void SQAIError_Register(Squirrel *engine) {
AIError::RegisterErrorMapString(AIError::ERR_TOO_CLOSE_TO_EDGE, "ERR_TOO_CLOSE_TO_EDGE");
AIError::RegisterErrorMapString(AIError::ERR_STATION_TOO_SPREAD_OUT, "ERR_STATION_TOO_SPREAD_OUT");
- SQAIError.DefSQStaticMethod(engine, &AIError::GetErrorCategory, "GetErrorCategory", 1, "?");
- SQAIError.DefSQStaticMethod(engine, &AIError::GetLastError, "GetLastError", 1, "?");
- SQAIError.DefSQStaticMethod(engine, &AIError::GetLastErrorString, "GetLastErrorString", 1, "?");
+ SQAIError.DefSQStaticMethod(engine, &AIError::GetErrorCategory, "GetErrorCategory", 1, ".");
+ SQAIError.DefSQStaticMethod(engine, &AIError::GetLastError, "GetLastError", 1, ".");
+ SQAIError.DefSQStaticMethod(engine, &AIError::GetLastErrorString, "GetLastErrorString", 1, ".");
SQAIError.PostRegister(engine);
}