landscape.c
changeset 1902 5d653da1abb7
parent 1891 92a3b0aa0946
child 1958 625d71cd6898
--- a/landscape.c	Sat Jun 04 11:56:32 2005 +0000
+++ b/landscape.c	Sat Jun 04 12:13:24 2005 +0000
@@ -451,7 +451,7 @@
 		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);
 		}
 	}
 }