diff options
author | glx <glx@openttd.org> | 2009-02-21 00:43:18 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-02-21 00:43:18 +0000 |
commit | 85ea21a5d018f1a403b1e91f88c3b1b83694d533 (patch) | |
tree | 3a4d310d13018512703d4a29573d32a37c7f5f3c /src/ai/api/ai_error.hpp.sq | |
parent | 8eb906dda9d3a7ca0affc2ae934a54a375bb1421 (diff) | |
download | openttd-85ea21a5d018f1a403b1e91f88c3b1b83694d533.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.sq | 6 |
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); } |