mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
This commit is contained in:
parent
582b2001c8
commit
3b7253b7a5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user