From: Simon Tatham Date: Sun, 7 Aug 2005 08:47:08 +0000 (+0000) Subject: Remove conditional definition of MAX_GRIDGEN_TRIES, for consistency X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c8c576f68949ecab29c8250222983c2b9d2931f7;p=sgt-puzzles.git Remove conditional definition of MAX_GRIDGEN_TRIES, for consistency between Palm and other ports when fed the same random seed. [originally from svn r6172] --- diff --git a/lightup.c b/lightup.c index 158a153..8549a75 100644 --- a/lightup.c +++ b/lightup.c @@ -1046,11 +1046,7 @@ static int puzzle_is_good(game_state *state, game_params *params, int *mdepth) * puzzle we could come up with was non-recursive, we give up and try a new * grid. */ -#ifdef SLOW_SYSTEM #define MAX_GRIDGEN_TRIES 20 -#else -#define MAX_GRIDGEN_TRIES 50 -#endif static char *new_game_desc(game_params *params, random_state *rs, char **aux, int interactive)