mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Ahem. The region density at which things start to get hairy is 2/3
of the grid area, not 3/2! [originally from svn r6235]
This commit is contained in:
2
map.c
2
map.c
@ -1248,7 +1248,7 @@ static char *new_game_desc(game_params *params, random_state *rs,
|
|||||||
/*
|
/*
|
||||||
* Drop minimum difficulty if necessary.
|
* 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)
|
if (tries-- <= 0)
|
||||||
mindiff = 0; /* give up and go for Easy */
|
mindiff = 0; /* give up and go for Easy */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user