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

This commit is contained in:
alberth 2010-02-06 19:22:29 +00:00
parent 5cd81526d8
commit 0e97146d4d
1 changed files with 1 additions and 1 deletions

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;