summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-27 22:26:06 +0000
committeryexo <yexo@openttd.org>2009-02-27 22:26:06 +0000
commit9352acf27179fe59e4f248808e9c08faee4a56b2 (patch)
treecdc48b2e555ddc5db727509571a2a9a25194adf4
parentda78726e0c1758caa54abca6073089f552be1e81 (diff)
downloadopenttd-9352acf27179fe59e4f248808e9c08faee4a56b2.tar.xz
(svn r15593) -Change: the background of the the waypoint sign is now in the company color.
-rw-r--r--src/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index b18b6db70..c218df8ac 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -1215,7 +1215,7 @@ static void ViewportAddSigns(DrawPixelInfo *dpi)
static void AddWaypoint(const Waypoint *wp, StringID str, uint16 width)
{
- AddStringToDraw(wp->sign.left + 1, wp->sign.top + 1, str, wp->index, 0, (wp->deleted ? 0xE : 11), width);
+ AddStringToDraw(wp->sign.left + 1, wp->sign.top + 1, str, wp->index, 0, (wp->deleted ? 0xE : _company_colours[wp->owner]), width);
}