From 73e1d188710f2745d27505da34e2f68e3f63f551 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 7 May 2009 12:13:58 +0000 Subject: [PATCH] (svn r16249) -Fix [NoAI]: Enable parameter checking for AIController::* functions again --- src/ai/api/ai_controller.hpp.sq | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ai/api/ai_controller.hpp.sq b/src/ai/api/ai_controller.hpp.sq index 911fe42b6d..68282db327 100644 --- a/src/ai/api/ai_controller.hpp.sq +++ b/src/ai/api/ai_controller.hpp.sq @@ -5,10 +5,10 @@ void SQAIController_Register(Squirrel *engine) { DefSQClass SQAIController("AIController"); SQAIController.PreRegister(engine); - SQAIController.DefSQStaticMethod(engine, &AIController::GetTick, "GetTick", 1, "?"); - SQAIController.DefSQStaticMethod(engine, &AIController::SetCommandDelay, "SetCommandDelay", 2, "?i"); - SQAIController.DefSQStaticMethod(engine, &AIController::Sleep, "Sleep", 2, "?i"); - SQAIController.DefSQStaticMethod(engine, &AIController::GetSetting, "GetSetting", 2, "?s"); - SQAIController.DefSQStaticMethod(engine, &AIController::Print, "Print", 3, "?bs"); + SQAIController.DefSQStaticMethod(engine, &AIController::GetTick, "GetTick", 1, "."); + SQAIController.DefSQStaticMethod(engine, &AIController::SetCommandDelay, "SetCommandDelay", 2, ".i"); + SQAIController.DefSQStaticMethod(engine, &AIController::Sleep, "Sleep", 2, ".i"); + SQAIController.DefSQStaticMethod(engine, &AIController::GetSetting, "GetSetting", 2, ".s"); + SQAIController.DefSQStaticMethod(engine, &AIController::Print, "Print", 3, ".bs"); SQAIController.PostRegister(engine); }