Ability to build a .CHM for Puzzles. I haven't yet arranged for it
[sgt/puzzles] / map.c
diff --git a/map.c b/map.c
index 4ab6c4f..d70d428 100644 (file)
--- a/map.c
+++ b/map.c
@@ -1695,8 +1695,7 @@ static char *parse_edge_list(game_params *params, char **desc, int *map)
     int i, k, pos, state;
     char *p = *desc;
 
-    for (i = 0; i < wh; i++)
-       map[wh+i] = i;
+    dsf_init(map+wh, wh);
 
     pos = -1;
     state = 0;