aboutsummaryrefslogtreecommitdiff
path: root/lightup.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-08-07 08:47:08 +0000
committerSimon Tatham <anakin@pobox.com>2005-08-07 08:47:08 +0000
commitc8c576f68949ecab29c8250222983c2b9d2931f7 (patch)
treec9677facab63745655c7ddc2d5aef79d2b2f5e44 /lightup.c
parent6c3916f77e213f6aa0c5d06df979ccf28a3999d4 (diff)
downloadpuzzles-c8c576f68949ecab29c8250222983c2b9d2931f7.zip
puzzles-c8c576f68949ecab29c8250222983c2b9d2931f7.tar.gz
puzzles-c8c576f68949ecab29c8250222983c2b9d2931f7.tar.bz2
puzzles-c8c576f68949ecab29c8250222983c2b9d2931f7.tar.xz
Remove conditional definition of MAX_GRIDGEN_TRIES, for consistency
between Palm and other ports when fed the same random seed. [originally from svn r6172]
Diffstat (limited to 'lightup.c')
-rw-r--r--lightup.c4
1 files changed, 0 insertions, 4 deletions
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)