From d03bbdd4acc3fb160c29a5bc03d202bb89b008a2 Mon Sep 17 00:00:00 2001 From: truebrain Date: Wed, 23 Nov 2011 13:39:36 +0000 Subject: (svn r23295) -Codechange: put ImportLibrary in AIController (and document the parameters for NoAI docs) --- src/ai/ai_instance.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/ai/ai_instance.cpp') diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index b99b8a108..45e142c24 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -122,10 +122,7 @@ void AIInstance::Initialize(AIInfo *info) this->controller = new AIController(); - /* The import method is available at a very early stage */ - this->engine->AddMethod("import", &AILibrary::Import, 4, ".ssi"); - - /* Register the AIController */ + /* Register the AIController (including the "import" command) */ SQAIController_Register(this->engine); /* Register the API functions and classes */ -- cgit v1.2.3-54-g00ecf