From b0b7e1172c189d88b0fb784cbbcebdf7175eaba9 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 24 Feb 2011 22:14:41 +0000 Subject: (svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu) --- src/ai/api/ai_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') diff --git a/src/ai/api/ai_log.cpp b/src/ai/api/ai_log.cpp index 7a269030d..af2295df1 100644 --- 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() -- cgit v1.2.3-54-g00ecf