summaryrefslogtreecommitdiff
path: root/src
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
commitdbec2ec6289dfdae6f289485a97aea46ff169bb6 (patch)
treecdc48b2e555ddc5db727509571a2a9a25194adf4 /src
parente01106f66b8b003ebc847470d1291af8ef640c96 (diff)
downloadopenttd-dbec2ec6289dfdae6f289485a97aea46ff169bb6.tar.xz
(svn r15593) -Change: the background of the the waypoint sign is now in the company color.
Diffstat (limited to 'src')
-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);
}