(svn r13423) [NoAI] -Remove: old code telling we no longer support AIs without 'info.nut'. We hope everyone did that by now :)
--- a/src/ai/ai_squirrel.cpp Sun Jun 08 21:20:48 2008 +0000
+++ b/src/ai/ai_squirrel.cpp Sun Jun 08 21:36:03 2008 +0000
@@ -78,15 +78,6 @@
this->current_script = script_name;
this->current_dir = d_name;
this->engine->LoadScript(load_script);
- } else {
- /* Check if this person does have main.nut, but not yet info.nut, and assume it is an old AI */
- script_name[strlen(script_name) - 8] = '\0';
- ttd_strlcat(script_name, "main.nut", sizeof(script_name));
- if (FioCheckFileExists(script_name, AI_DIR)) {
- DEBUG(ai, 0, "You are using a deprecated way of registering your AI.");
- DEBUG(ai, 0, "Please read http://wiki.openttd.org/index.php/AI:AIInfo for more info");
- DEBUG(ai, 0, "'%s' will _not_ be loaded.", script_name);
- }
}
}
closedir(dir);