Changeset - r17385:d913e96c05b0
[Not reviewed]
master
0 1 0
frosch - 14 years ago 2011-02-24 22:14:41
frosch@openttd.org
(svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_log.cpp
Show inline comments
 
@@ -72,13 +72,13 @@
 
		case LOG_INFO:     logc = 'I'; break;
 
		default:           logc = '?'; break;
 
	}
 

	
 
	/* Also still print to debug window */
 
	DEBUG(ai, level, "[%d] [%c] %s", (uint)_current_company, logc, log->lines[log->pos]);
 
	InvalidateWindowData(WC_AI_DEBUG, 0, _current_company);
 
	InvalidateWindowData(WC_AI_DEBUG, 0, _current_company, true); // breakpoint handling needs calling Invalidate immediately.
 
}
 

	
 
/* static */ void AILog::FreeLogPointer()
 
{
 
	LogData *log = (LogData *)AIObject::GetLogPointer();
 

	
0 comments (0 inline, 0 general)