From 21bd2722cd89995370523385c213da32c8d47100 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 10 Feb 2010 16:24:05 +0000 Subject: (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel --- src/crashlog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/crashlog.cpp') diff --git a/src/crashlog.cpp b/src/crashlog.cpp index c3284120e..0cce6d087 100644 --- a/src/crashlog.cpp +++ b/src/crashlog.cpp @@ -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"); -- cgit v1.2.3-54-g00ecf