summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-10-07 18:49:02 +0000
committerplanetmaker <planetmaker@openttd.org>2011-10-07 18:49:02 +0000
commit7de0b33086a9bca824e48ed52f1d883320e69e4f (patch)
treea82b37503fa708ce621d3a2fb5b483b763a00405 /src
parent74f6813a55f0f9183ad6a6740028fd3f1b58d647 (diff)
downloadopenttd-7de0b33086a9bca824e48ed52f1d883320e69e4f.tar.xz
(svn r23012) -Fix [FS#4798]: AI backlog was to short to fully display the backtrace of some AI crashes (Kogut)
Diffstat (limited to 'src')
-rw-r--r--src/ai/api/ai_log.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ai/api/ai_log.cpp b/src/ai/api/ai_log.cpp
index 7a269030d..fb2935479 100644
--- a/src/ai/api/ai_log.cpp
+++ b/src/ai/api/ai_log.cpp
@@ -37,9 +37,9 @@
AIObject::GetLogPointer() = new LogData();
LogData *log = (LogData *)AIObject::GetLogPointer();
- log->lines = CallocT<char *>(80);
- log->type = CallocT<AILog::AILogType>(80);
- log->count = 80;
+ log->lines = CallocT<char *>(400);
+ log->type = CallocT<AILog::AILogType>(400);
+ log->count = 400;
log->pos = log->count - 1;
log->used = 0;
}