summaryrefslogtreecommitdiff
path: root/src/ship_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
commit1648da0e470ce9d80c9ee08a9c53452a7e578967 (patch)
treea2a5592c034cc0305b5d9a309f37f99ee8849db9 /src/ship_gui.cpp
parent1b21ece8982b59fe85185875c216f47723712501 (diff)
downloadopenttd-1648da0e470ce9d80c9ee08a9c53452a7e578967.tar.xz
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
Diffstat (limited to 'src/ship_gui.cpp')
-rw-r--r--src/ship_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_gui.cpp b/src/ship_gui.cpp
index 52689f575..2a57c3aeb 100644
--- a/src/ship_gui.cpp
+++ b/src/ship_gui.cpp
@@ -24,7 +24,7 @@ void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection)
DrawSprite(v->GetImage(DIR_W), GetVehiclePalette(v), x + 32, y + 10);
if (v->index == selection) {
- DrawFrameRect(x - 5, y - 1, x + 67, y + 21, 15, FR_BORDERONLY);
+ DrawFrameRect(x - 5, y - 1, x + 67, y + 21, COLOUR_WHITE, FR_BORDERONLY);
}
}