mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
This commit is contained in:
parent
5cd81526d8
commit
0e97146d4d
@ -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