chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3916f
)
Remove conditional definition of MAX_GRIDGEN_TRIES, for consistency
author
Simon Tatham
<anakin@pobox.com>
Sun, 7 Aug 2005 08:47:08 +0000
(08:47 +0000)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/lightup.c
b/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)