diff options
author | belugas <belugas@openttd.org> | 2007-05-30 20:20:58 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-05-30 20:20:58 +0000 |
commit | 0f6e6d97130e955f4c4764edcfd03fbd999fb659 (patch) | |
tree | c886ca4d96352ab20a7685f1637ba209083eb6b6 /src/smallmap_gui.cpp | |
parent | 2db0d81cc15dd887b32e6d85d6fb5022300c0c1b (diff) | |
download | openttd-0f6e6d97130e955f4c4764edcfd03fbd999fb659.tar.xz |
(svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.
A few more to go
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: |