summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-09 02:09:47 +0000
committerrubidium <rubidium@openttd.org>2009-02-09 02:09:47 +0000
commita7693c60592b25873b451cb27d26b8e3763c00d6 (patch)
tree36a060def733fe274859ec2afcbf3478faf2e63c /src/ai
parent5080feba0d5d5811048f1cece0b76f6396034c49 (diff)
downloadopenttd-a7693c60592b25873b451cb27d26b8e3763c00d6.tar.xz
(svn r15425) -Codechange: some color->colour changes and type safety.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 8827601bc..5fd9d87db 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -674,7 +674,7 @@ struct AIDebugWindow : public Window {
uint pos = (log->count + log->pos - i) % log->count;
if (log->lines[pos] == NULL) break;
- uint colour;
+ TextColour colour;
switch (log->type[pos]) {
case AILog::LOG_SQ_INFO: colour = TC_BLACK; break;
case AILog::LOG_SQ_ERROR: colour = TC_RED; break;