From 0e97146d4de2c43fbbba845e63f4dcd151c7843c Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 6 Feb 2010 19:22:29 +0000 Subject: (svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines. --- src/smallmap_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2