Mercurial > hg > openttd
changeset 18183:2ab2a0b9ab00 draft
(svn r23012) -Fix [FS#4798]: AI backlog was to short to fully display the backtrace of some AI crashes (Kogut)
author | planetmaker <planetmaker@openttd.org> |
---|---|
date | Fri, 07 Oct 2011 18:49:02 +0000 |
parents | b026c7a1cf1e |
children | 3146db79d546 |
files | src/ai/api/ai_log.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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; }