mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 08:49:50 +00:00
(svn r23012) -Fix [FS#4798]: AI backlog was to short to fully display the backtrace of some AI crashes (Kogut)
This commit is contained in:
parent
74f6813a55
commit
7de0b33086
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user