summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:46:19 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:46:19 +0000
commit17025fa6ea110f0db0b1c2e29b7615b21c2f5a50 (patch)
treee172f8a486ffd070f0a04406e46d74b24a68348c /src/ai
parent8cd77b6f6eb0e82ebcb4c0197786eeea08dd0263 (diff)
downloadopenttd-17025fa6ea110f0db0b1c2e29b7615b21c2f5a50.tar.xz
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 785d821a1..e08fac4db 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -1099,8 +1099,6 @@ struct AIDebugWindow : public QueryStringBaseWindow {
if (this->IsShaded()) return; // Don't draw anything when the window is shaded.
- if (this->show_break_box) this->DrawEditBox(WID_AID_BREAK_STR_EDIT_BOX);
-
/* Paint the company icons */
for (CompanyID i = COMPANY_FIRST; i < MAX_COMPANIES; i++) {
NWidgetCore *button = this->GetWidget<NWidgetCore>(i + WID_AID_COMPANY_BUTTON_START);