diff options
author | belugas <belugas@openttd.org> | 2007-11-04 00:08:57 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-11-04 00:08:57 +0000 |
commit | e2c0f1faf75c1c81790f11c88f9ceee8d36916c0 (patch) | |
tree | 14a742a306f14c4d3afd56b725a7c6ffe7fb0e73 /src/console.cpp | |
parent | c871dc1dd51634f6ac49c803be8389088ee39d43 (diff) | |
download | openttd-e2c0f1faf75c1c81790f11c88f9ceee8d36916c0.tar.xz |
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
Diffstat (limited to 'src/console.cpp')
-rw-r--r-- | src/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console.cpp b/src/console.cpp index 76c2562d8..98a017c83 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -88,7 +88,7 @@ static void IConsoleWndProc(Window *w, WindowEvent *e) DoDrawString(_iconsole_cmdline.buf, 10 + delta, w->height - ICON_LINE_HEIGHT, _icolour_cmd); if (_iconsole_cmdline.caret) - DoDrawString("_", 10 + delta + _iconsole_cmdline.caretxoffs, w->height - ICON_LINE_HEIGHT, 12); + DoDrawString("_", 10 + delta + _iconsole_cmdline.caretxoffs, w->height - ICON_LINE_HEIGHT, TC_WHITE); break; } case WE_MOUSELOOP: @@ -215,7 +215,7 @@ void IConsoleInit() _icolour_err = 3; _icolour_warn = 13; _icolour_dbg = 5; - _icolour_cmd = 2; + _icolour_cmd = TC_GOLD; _iconsole_historypos = ICON_HISTORY_SIZE - 1; _iconsole_mode = ICONSOLE_CLOSED; |