From: jacob Date: Tue, 5 Jul 2005 21:40:29 +0000 (+0000) Subject: Revert the code that assumed that incoming parameters used a random generation X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/c5aa0b02c19bfd6e717837c0ae0b912456e47622 Revert the code that assumed that incoming parameters used a random generation scheme in r6068, since this messed up the non-permanency of the non-limited parameter. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6069 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/pegs.c b/pegs.c index 5ed30d0..0709187 100644 --- 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;