aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2005-07-05 21:40:29 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2005-07-05 21:40:29 +0000
commit755d0c0b038b773cf011dc8ff4f477a88c2ee832 (patch)
treef6368834e077d809fab68321a3ffca318abb87a7
parentf3c95109c7b905f74b5f149eea21f68444c31ef7 (diff)
downloadpuzzles-755d0c0b038b773cf011dc8ff4f477a88c2ee832.zip
puzzles-755d0c0b038b773cf011dc8ff4f477a88c2ee832.tar.gz
puzzles-755d0c0b038b773cf011dc8ff4f477a88c2ee832.tar.bz2
puzzles-755d0c0b038b773cf011dc8ff4f477a88c2ee832.tar.xz
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. [originally from svn r6069] [r6068 == f3c95109c7b905f74b5f149eea21f68444c31ef7]
-rw-r--r--pegs.c5
1 files changed, 0 insertions, 5 deletions
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;