shithub: puzzles

Download patch

ref: c8c576f68949ecab29c8250222983c2b9d2931f7
parent: 6c3916f77e213f6aa0c5d06df979ccf28a3999d4
author: Simon Tatham <anakin@pobox.com>
date: Sun Aug 7 04:47:08 EDT 2005

Remove conditional definition of MAX_GRIDGEN_TRIES, for consistency
between Palm and other ports when fed the same random seed.

[originally from svn r6172]

--- a/lightup.c
+++ b/lightup.c
@@ -1046,11 +1046,7 @@
  * 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)