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
commit8607bbf06d0fd1781c6ea7cb551327bfde2a6b4b (patch)
tree675809baa0b80a6754f7327b5b7cc056952ef6e0 /train_gui.c
parentb73099e083489ffea5d226517e5193bd7f742202 (diff)
downloadopenttd-8607bbf06d0fd1781c6ea7cb551327bfde2a6b4b.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;
}