(svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.

A few more to go
This commit is contained in:
belugas
2007-05-30 20:20:58 +00:00
parent 2db0d81cc1
commit 0f6e6d9713
3 changed files with 6 additions and 5 deletions

View File

@@ -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: