From: simon Date: Mon, 29 Aug 2005 09:05:35 +0000 (+0000) Subject: Ahem. The region density at which things start to get hairy is 2/3 X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/5008dea0e1685c8c8f79899eaf682688080979d1?hp=e6a5b1b70d835abd16a203f30a61cc48939e704c Ahem. The region density at which things start to get hairy is 2/3 of the grid area, not 3/2! git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6235 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/map.c b/map.c index 3697233..0f5920c 100644 --- a/map.c +++ b/map.c @@ -1248,7 +1248,7 @@ static char *new_game_desc(game_params *params, random_state *rs, /* * Drop minimum difficulty if necessary. */ - if (mindiff > 0 && (n < 9 || n > 3*wh/2)) { + if (mindiff > 0 && (n < 9 || n > 2*wh/3)) { if (tries-- <= 0) mindiff = 0; /* give up and go for Easy */ }