--- a/algorithm.c Sat May 06 10:08:11 2006 +0200
+++ b/algorithm.c Sat May 06 10:08:41 2006 +0200
@@ -424,30 +424,6 @@
m->Box[move.box] = newpos;
}
-static int is_new_map(struct Map maps[], int depth)
-{
- struct Map *m;
- int i;
-
- m = &maps[depth];
-
- for(i=0; i<max_depth; i++)
- {
- /* No l'hem de comparar amb ell mateix */
- if (i == depth)
- continue;
-
- if (m->NumBoxesInPlatform != maps[i].NumBoxesInPlatform)
- continue;
- else
- {
- if (!are_boxes_equal(m->Box, maps[i].Box, m->NumBoxes))
- continue;
- }
- return FALSE;
- }
- return TRUE;
-}
static int search_depth(struct Map maps[], int depth,