(svn r2408) Introduce SetTileOwner() and use it

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

View File

@@ -451,7 +451,7 @@ void ConvertGroundTilesIntoWaterTiles(void)
if (IsTileType(tile, MP_CLEAR) && GetTileSlope(tile, &h) == 0 && h == 0) {
SetTileType(tile, MP_WATER);
_map5[tile] = 0;
_map_owner[tile] = OWNER_WATER;
SetTileOwner(tile, OWNER_WATER);
}
}
}