diff options
author | tron <tron@openttd.org> | 2005-06-04 12:13:24 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-04 12:13:24 +0000 |
commit | ff0030936e9ed7ae92d0a1fef2984b2eed608214 (patch) | |
tree | 11a93b883c78b67c9c0fd0e09265d93450542264 /town_cmd.c | |
parent | a9b95b3cbb397e5a644c8310d33d046b2737ce16 (diff) | |
download | openttd-ff0030936e9ed7ae92d0a1fef2984b2eed608214.tar.xz |
(svn r2408) Introduce SetTileOwner() and use it
Diffstat (limited to 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index cea348909..4b13be7b6 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -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; } } |