From dbec2ec6289dfdae6f289485a97aea46ff169bb6 Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 27 Feb 2009 22:26:06 +0000 Subject: (svn r15593) -Change: the background of the the waypoint sign is now in the company color. --- src/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2