summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-06-15 17:27:14 +0000
committerhackykid <hackykid@openttd.org>2005-06-15 17:27:14 +0000
commit90900802b9129f2dcd052a78abb5ae656f7604c5 (patch)
tree675809baa0b80a6754f7327b5b7cc056952ef6e0 /train_gui.c
parentfd95f78dfc9a0c16e458da19613d64960c5ab37f (diff)
downloadopenttd-90900802b9129f2dcd052a78abb5ae656f7604c5.tar.xz
(svn r2444) - CodeChange: Add an enum for demagicifying the values of the 'flags' parameter of DrawFrameRect(). (_Abraxa_)
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c
index 63641a110..070b8e2d9 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -342,7 +342,7 @@ static void DrawTrainImage(const Vehicle *v, int x, int y, int count, int skip,
ormod = PALETTE_CRASH;
DrawSprite(image | ormod, x + 14, y + 6 + _traininfo_vehicle_pitch);
if (v->index == selection)
- DrawFrameRect(x - 1, y - 1, x + width + 4, y + 12, 15, 0x10);
+ DrawFrameRect(x - 1, y - 1, x + width + 4, y + 12, 15, FR_BORDERONLY);
}
x += width + 5;
}