Some patches from James H:
[sgt/puzzles] / pegs.c
diff --git a/pegs.c b/pegs.c
index 5ed30d0..0709187 100644 (file)
--- a/pegs.c
+++ b/pegs.c
@@ -120,11 +120,6 @@ static void decode_params(game_params *params, char const *string)
         params->h = params->w;
     }
 
-    /*
-     * Assume a random generation scheme unless told otherwise, for the
-     * sake of internal consistency.
-     */
-    params->type = TYPE_RANDOM;
     for (i = 0; i < lenof(pegs_lowertypes); i++)
        if (!strcmp(p, pegs_lowertypes[i]))
            params->type = i;