(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.

This commit is contained in:
alberth 2010-02-06 19:22:29 +00:00
parent 582b2001c8
commit 3b7253b7a5

View File

@ -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;