aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-08-29 09:05:35 +0000
committerSimon Tatham <anakin@pobox.com>2005-08-29 09:05:35 +0000
commitea9142fbda5beec1e76c1ba8d3ee649be6946d03 (patch)
tree2ea272d5ce90e5c1a5c54e8709845ba762f7cbc9 /map.c
parent2c85fd3530f3744fa270b7189fd82f4de460f2f3 (diff)
downloadpuzzles-ea9142fbda5beec1e76c1ba8d3ee649be6946d03.zip
puzzles-ea9142fbda5beec1e76c1ba8d3ee649be6946d03.tar.gz
puzzles-ea9142fbda5beec1e76c1ba8d3ee649be6946d03.tar.bz2
puzzles-ea9142fbda5beec1e76c1ba8d3ee649be6946d03.tar.xz
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]
Diffstat (limited to 'map.c')
-rw-r--r--map.c2
1 files changed, 1 insertions, 1 deletions
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 */
}