summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-03-13 21:32:40 +0000
committerfrosch <frosch@openttd.org>2011-03-13 21:32:40 +0000
commit0ff4f31723c22a53dec3c44de64b0385355e972d (patch)
tree6ead66655cbaef300833fb180d3fb01d57d2d44f /src/ai/api
parent51ddbbb13d3c6277dcd04289623efe6e00e4f1b3 (diff)
downloadopenttd-0ff4f31723c22a53dec3c44de64b0385355e972d.tar.xz
(svn r22243) -Codechange: Make AIDebugWindow::OnInvalidateData() handle command-/GUI-scope itself.
Diffstat (limited to 'src/ai/api')
-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 af2295df1..7a269030d 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, true); // breakpoint handling needs calling Invalidate immediately.
+ InvalidateWindowData(WC_AI_DEBUG, 0, _current_company);
}
/* static */ void AILog::FreeLogPointer()