1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r2408) Introduce SetTileOwner() and use it

This commit is contained in:
tron
2005-06-04 12:13:24 +00:00
parent 0c4ecbe9ec
commit 74541c1dcc
11 changed files with 37 additions and 29 deletions

View File

@@ -580,7 +580,7 @@ static void TileLoop_Trees(uint tile)
if ((m2&0x30) != 0x20) // if not on snow/desert, then on rough land
m5 = 7;
}
_map_owner[tile] = OWNER_NONE;
SetTileOwner(tile, OWNER_NONE);
}
} else {
/* in the middle of a transition, change to next */