summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-02-06 19:22:29 +0000
committeralberth <alberth@openttd.org>2010-02-06 19:22:29 +0000
commit0e97146d4de2c43fbbba845e63f4dcd151c7843c (patch)
tree270a4c422b95458612581a9ec2d072c04e72adba
parent5cd81526d8913e0fa1caf5aec3e2be6e95bb8dc8 (diff)
downloadopenttd-0e97146d4de2c43fbbba845e63f4dcd151c7843c.tar.xz
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
-rw-r--r--src/smallmap_gui.cpp2
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;