mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty.
This commit is contained in:
parent
663c73595f
commit
22d4270ea8
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue