diff options
author | yexo <yexo@openttd.org> | 2009-08-19 14:54:52 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-19 14:54:52 +0000 |
commit | 5a863925ee6c1ba78ec1ca59e73cebe2840d4345 (patch) | |
tree | 78df47d24a73a7c6cc78db1b84e2116d22c6b5c7 /src/ai/api/ai_sign.hpp.sq | |
parent | 4423000225364b880abd7f793d772bf51bdb2d87 (diff) | |
download | openttd-5a863925ee6c1ba78ec1ca59e73cebe2840d4345.tar.xz |
(svn r17221) -Change [NoAI] [FS#3101]: when the API requests a string as parameter allow every squirrel type and convert to a string
Diffstat (limited to 'src/ai/api/ai_sign.hpp.sq')
-rw-r--r-- | src/ai/api/ai_sign.hpp.sq | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/api/ai_sign.hpp.sq b/src/ai/api/ai_sign.hpp.sq index 2c5ef8039..77a0bf490 100644 --- a/src/ai/api/ai_sign.hpp.sq +++ b/src/ai/api/ai_sign.hpp.sq @@ -29,10 +29,10 @@ void SQAISign_Register(Squirrel *engine) { AIError::RegisterErrorMapString(AISign::ERR_SIGN_TOO_MANY_SIGNS, "ERR_SIGN_TOO_MANY_SIGNS"); SQAISign.DefSQStaticMethod(engine, &AISign::IsValidSign, "IsValidSign", 2, ".i"); - SQAISign.DefSQStaticMethod(engine, &AISign::SetName, "SetName", 3, ".is"); + SQAISign.DefSQStaticMethod(engine, &AISign::SetName, "SetName", 3, ".i."); SQAISign.DefSQStaticMethod(engine, &AISign::GetName, "GetName", 2, ".i"); SQAISign.DefSQStaticMethod(engine, &AISign::GetLocation, "GetLocation", 2, ".i"); - SQAISign.DefSQStaticMethod(engine, &AISign::BuildSign, "BuildSign", 3, ".is"); + SQAISign.DefSQStaticMethod(engine, &AISign::BuildSign, "BuildSign", 3, ".i."); SQAISign.DefSQStaticMethod(engine, &AISign::RemoveSign, "RemoveSign", 2, ".i"); SQAISign.PostRegister(engine); |