From 27187e5a69dff6b66334283ed5c4ad21f7db59f4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 7 Nov 2008 18:02:46 +0000 Subject: (svn r14567) -Revert (part of 14566): don't commit testing stuff... --- src/smallmap_gui.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 4eaf50926..5c993cc2c 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -383,20 +383,6 @@ static inline uint32 GetSmallMapIndustriesPixels(TileIndex tile) return ApplyMask(MKCOLOR(0x54545454), &_smallmap_vehicles_andor[t]); } -#define MK(x) MKCOLOR(x << 24 | x << 16 | x << 8 | x) - -static const uint32 _busyness[] = { - MK(15), - MK(150), - MK(209), - MK(206), - MK(191), - MK(186), - MK(184), - MK(180), -}; - - /** * Return the color a tile would be displayed with in the small map in mode "Routes". * @@ -419,7 +405,7 @@ static inline uint32 GetSmallMapRoutesPixels(TileIndex tile) } } else { /* ground color */ - bits = ApplyMask(t == MP_RAILWAY ? _busyness[CountBits(GetStat(tile))] : MKCOLOR(0x54545454), &_smallmap_contours_andor[t]); + bits = ApplyMask(MKCOLOR(0x54545454), &_smallmap_contours_andor[t]); } return bits; } -- cgit v1.2.3-54-g00ecf