summaryrefslogtreecommitdiff
path: root/src/crashlog.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-01 12:03:34 +0000
committertruebrain <truebrain@openttd.org>2011-12-01 12:03:34 +0000
commitcc12942d70fa2a672c59e848c196c6647f8f1129 (patch)
tree3543911ce7080ad03897907e5e192d7697bc954e /src/crashlog.cpp
parent0c2bbdde5c0f9577cff72af5b34c10777c6bebd0 (diff)
downloadopenttd-cc12942d70fa2a672c59e848c196c6647f8f1129.tar.xz
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
Diffstat (limited to 'src/crashlog.cpp')
-rw-r--r--src/crashlog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index bda4d674f..c5719ad47 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -151,9 +151,7 @@ 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");