summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_log.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-02-24 22:14:41 +0000
committerfrosch <frosch@openttd.org>2011-02-24 22:14:41 +0000
commitb0b7e1172c189d88b0fb784cbbcebdf7175eaba9 (patch)
treeda243e8f630a121f043fb6d14e037801ed18d434 /src/ai/api/ai_log.cpp
parentf34e9ff0748ef4c5ccadfc3b672501a929850445 (diff)
downloadopenttd-b0b7e1172c189d88b0fb784cbbcebdf7175eaba9.tar.xz
(svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu)
Diffstat (limited to 'src/ai/api/ai_log.cpp')
-rw-r--r--src/ai/api/ai_log.cpp2
1 files changed, 1 insertions, 1 deletions
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()