# HG changeset patch # User frosch # Date 2011-02-24 22:14:41 # Node ID d913e96c05b0d8fe4839509a4749ed18f851dbeb # Parent 23b210c0ef618c67d6d675a5932dd1bb16351d26 (svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu) diff --git a/src/ai/api/ai_log.cpp b/src/ai/api/ai_log.cpp --- 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()