Changeset - r23460:1f34c7be2489
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 8 years ago 2016-03-21 20:19:29
j.g.rennison@gmail.com
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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/crashlog.cpp
Show inline comments
 
@@ -194,7 +194,7 @@ char *CrashLog::LogConfiguration(char *b
 
			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) {
0 comments (0 inline, 0 general)