From 0f6e6d97130e955f4c4764edcfd03fbd999fb659 Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 30 May 2007 20:20:58 +0000 Subject: (svn r9992) -Codechange: Remove some hardcoded references to Industry IDs. A few more to go --- src/smallmap_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 10452b5cf..0c10e7fc5 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -430,7 +430,7 @@ static inline uint32 GetSmallMapVegetationPixels(TileIndex tile) break; case MP_INDUSTRY: - bits = GetIndustryType(tile) == IT_FOREST ? MKCOLOR(0xD0D0D0D0) : MKCOLOR(0xB5B5B5B5); + bits = GetIndustrySpec(GetIndustryByTile(tile)->type)->check_proc == CHECK_FOREST ? MKCOLOR(0xD0D0D0D0) : MKCOLOR(0xB5B5B5B5); break; case MP_TREES: -- cgit v1.2.3-54-g00ecf