diff src/viewport.cpp @ 11239:ae12e0996634 draft

(svn r15593) -Change: the background of the the waypoint sign is now in the company color.
author yexo <yexo@openttd.org>
date Fri, 27 Feb 2009 22:26:06 +0000
parents 8da1855e9f14
children 02313cc6114e
line wrap: on
line diff
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -1215,7 +1215,7 @@
 
 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);
 }