chiark / gitweb /
Remove conditional definition of MAX_GRIDGEN_TRIES, for consistency
authorSimon Tatham <anakin@pobox.com>
Sun, 7 Aug 2005 08:47:08 +0000 (08:47 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 7 Aug 2005 08:47:08 +0000 (08:47 +0000)
between Palm and other ports when fed the same random seed.

[originally from svn r6172]

lightup.c

index 158a153b5f04769c314b24edb7d8b85f31f628c3..8549a751940fb32584f0b7d42e74f3a516a0a5df 100644 (file)
--- 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)