mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 16:54:42 +00:00
Change: Include _current_company in crashlog AI config line
_current_company is not currently logged anywhere in the crashlog. _local_company is logged, despite being much less useful than _current_company. This change logs _current_company alongside _local_company.
This commit is contained in:
parent
6a897a2a9b
commit
1a115e1cc8
@ -194,7 +194,7 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
|
||||
FontCache::Get(FS_MONO)->GetFontName()
|
||||
);
|
||||
|
||||
buffer += seprintf(buffer, last, "AI Configuration (local: %i):\n", (int)_local_company);
|
||||
buffer += seprintf(buffer, last, "AI Configuration (local: %i) (current: %i):\n", (int)_local_company, (int)_current_company);
|
||||
const Company *c;
|
||||
FOR_ALL_COMPANIES(c) {
|
||||
if (c->ai_info == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user