diff options
author | alberth <alberth@openttd.org> | 2010-02-06 19:22:29 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-02-06 19:22:29 +0000 |
commit | 0e97146d4de2c43fbbba845e63f4dcd151c7843c (patch) | |
tree | 270a4c422b95458612581a9ec2d072c04e72adba | |
parent | 5cd81526d8913e0fa1caf5aec3e2be6e95bb8dc8 (diff) | |
download | openttd-0e97146d4de2c43fbbba845e63f4dcd151c7843c.tar.xz |
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
-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 05fe9cc2f..b10c4665e 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -420,7 +420,7 @@ static inline uint32 GetSmallMapOwnerPixels(TileIndex tile) { Owner o; - switch (GetTileType(tile)) { + switch (GetEffectiveTileType(tile)) { case MP_INDUSTRY: o = OWNER_END; break; case MP_HOUSE: o = OWNER_TOWN; break; default: o = GetTileOwner(tile); break; |