(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

@@ -746,7 +746,7 @@ static int GrowTownAtRoad(Town *t, uint tile)
else if (_game_mode == GM_EDITOR) {
/* If we are in the SE, and this road-piece has no town owner yet, it just found an
* owner :) (happy happy happy road now) */
_map_owner[tile] = OWNER_TOWN;
SetTileOwner(tile, OWNER_TOWN);
_map2[tile] = t->index;
}
}