diff options
author | rubidium <rubidium@openttd.org> | 2009-03-22 14:08:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-22 14:08:53 +0000 |
commit | 22d4270ea8664975384198353c40f4fc859dd5f1 (patch) | |
tree | e59ea09ec02e8a17b35afeb6f47aef941b0d17b2 | |
parent | 663c73595f1c1ed44b23275410347c37abee4657 (diff) | |
download | openttd-22d4270ea8664975384198353c40f4fc859dd5f1.tar.xz |
(svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty.
-rw-r--r-- | src/ai/ai_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 931335614..1aca40af8 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -683,7 +683,7 @@ struct AIDebugWindow : public Window { default: colour = TC_BLACK; break; } - DrawString(this->widget[AID_WIDGET_LOG_PANEL].right + 7, this->widget[AID_WIDGET_LOG_PANEL].left - 7, this->widget[AID_WIDGET_LOG_PANEL].top + y, log->lines[pos], colour); + DrawString(this->widget[AID_WIDGET_LOG_PANEL].left + 7, this->widget[AID_WIDGET_LOG_PANEL].right - 7, this->widget[AID_WIDGET_LOG_PANEL].top + y, log->lines[pos], colour); y += 12; } } |