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 /tree_cmd.c | |
parent | a9b95b3cbb397e5a644c8310d33d046b2737ce16 (diff) | |
download | openttd-ff0030936e9ed7ae92d0a1fef2984b2eed608214.tar.xz |
(svn r2408) Introduce SetTileOwner() and use it
Diffstat (limited to 'tree_cmd.c')
-rw-r--r-- | tree_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tree_cmd.c b/tree_cmd.c index e4fe68ffc..52856fe69 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -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 */ |