Mercurial > hg > openttd
changeset 17395:701446cd16e0 draft
(svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu)
author | frosch <frosch@openttd.org> |
---|---|
date | Thu, 24 Feb 2011 22:14:41 +0000 |
parents | 10923db59f0b |
children | df378a32f9df |
files | src/ai/api/ai_log.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ai/api/ai_log.cpp +++ b/src/ai/api/ai_log.cpp @@ -75,7 +75,7 @@ /* 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()