changeset 1901 | 03bf9bf99319 |
parent 1891 | 862800791170 |
child 1902 | 86b7fb11f938 |
--- a/tree_cmd.c Sat Jun 04 07:36:28 2005 +0000 +++ b/tree_cmd.c Sat Jun 04 11:56:32 2005 +0000 @@ -195,7 +195,7 @@ break; case MP_CLEAR: - if (_map_owner[ti.tile] != OWNER_NONE) { + if (!IsTileOwner(ti.tile, OWNER_NONE)) { _error_message = STR_2804_SITE_UNSUITABLE; continue; } @@ -396,7 +396,7 @@ byte b; StringID str; - td->owner = _map_owner[tile]; + td->owner = GetTileOwner(tile); b = _map3_lo[tile]; (str=STR_2810_CACTUS_PLANTS, b==0x1B) ||