(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel

This commit is contained in:
rubidium
2010-02-10 16:24:05 +00:00
parent 78ce2858fc
commit 21bd2722cd
21 changed files with 190 additions and 30 deletions

View File

@@ -134,7 +134,9 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
if (c->ai_info == NULL) {
buffer += seprintf(buffer, last, " %2i: Human\n", (int)c->index);
} else {
#ifdef ENABLE_AI
buffer += seprintf(buffer, last, " %2i: %s (v%d)\n", (int)c->index, c->ai_info->GetName(), c->ai_info->GetVersion());
#endif /* ENABLE_AI */
}
}
buffer += seprintf(buffer, last, "\n");