diff options
author | belugas <belugas@openttd.org> | 2006-04-10 21:00:56 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-04-10 21:00:56 +0000 |
commit | f1da549c10f8e2d2207f1b6325a86b0210a28b5e (patch) | |
tree | e2a2356f833bf455ac95d036ad577eb097f20f49 /smallmap_gui.c | |
parent | b0ee09fd1d82f1e28cd061e978c30dda3ae103e0 (diff) | |
download | openttd-f1da549c10f8e2d2207f1b6325a86b0210a28b5e.tar.xz |
(svn r4350) CodeChange : Add and use accessors [G|S]etIndustrype. Define and use IndustryGfx type instead of uint
Diffstat (limited to 'smallmap_gui.c')
-rw-r--r-- | smallmap_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c index 360b89fdb..ee4378756 100644 --- a/smallmap_gui.c +++ b/smallmap_gui.c @@ -490,7 +490,7 @@ static inline uint32 GetSmallMapVegetationPixels(TileIndex tile) break; case MP_INDUSTRY: - bits = IS_BYTE_INSIDE(GetIndustryGfx(tile), 0x10, 0x12) ? MKCOLOR(0xD0D0D0D0) : MKCOLOR(0xB5B5B5B5); + bits = GetIndustryType(tile) == IT_FOREST ? MKCOLOR(0xD0D0D0D0) : MKCOLOR(0xB5B5B5B5); break; case MP_TREES: |