diff options
author | planetmaker <planetmaker@openttd.org> | 2011-10-07 18:49:02 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2011-10-07 18:49:02 +0000 |
commit | 7de0b33086a9bca824e48ed52f1d883320e69e4f (patch) | |
tree | a82b37503fa708ce621d3a2fb5b483b763a00405 | |
parent | 74f6813a55f0f9183ad6a6740028fd3f1b58d647 (diff) | |
download | openttd-7de0b33086a9bca824e48ed52f1d883320e69e4f.tar.xz |
(svn r23012) -Fix [FS#4798]: AI backlog was to short to fully display the backtrace of some AI crashes (Kogut)
-rw-r--r-- | src/ai/api/ai_log.cpp | 6 |
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; } |