summaryrefslogtreecommitdiff
path: root/src/train_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-01 03:43:53 +0000
committerbelugas <belugas@openttd.org>2008-08-01 03:43:53 +0000
commit69671d3aef250c7f720c2a6568e3f38c5821a9b2 (patch)
treea2a5592c034cc0305b5d9a309f37f99ee8849db9 /src/train_gui.cpp
parent325ef293fd15355dcec34d5e37ed379cec3b34e8 (diff)
downloadopenttd-69671d3aef250c7f720c2a6568e3f38c5821a9b2.tar.xz
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r--src/train_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp
index 9d528d8a6..715263a13 100644
--- a/src/train_gui.cpp
+++ b/src/train_gui.cpp
@@ -109,7 +109,7 @@ void DrawTrainImage(const Vehicle *v, int x, int y, VehicleID selection, int cou
if (highlight_l != highlight_r) {
/* Draw the highlight. Now done after drawing all the engines, as
* the next engine after the highlight could overlap it. */
- DrawFrameRect(highlight_l, 0, highlight_r, 13, 15, FR_BORDERONLY);
+ DrawFrameRect(highlight_l, 0, highlight_r, 13, COLOUR_WHITE, FR_BORDERONLY);
}
_cur_dpi = old_dpi;