map.c
changeset 26 95fccfcbd04c
parent 10 9148590f009d
--- a/map.c	Sun May 07 13:34:25 2006 +0200
+++ b/map.c	Fri Feb 16 22:57:36 2007 +0100
@@ -14,8 +14,10 @@
 	int i;
 	char tmp[MAX_Y][MAX_X]; /* !!!argh */
 
-	memset(tmp, 0, sizeof(tmp));
-
+	for (i=0; i < n; i++)
+	{
+		tmp[b2[i].y][b2[i].x] = 0;
+	}
 	for (i=0; i < n; i++)
 	{
 		tmp[b1[i].y][b1[i].x] = 1;