aboutsummaryrefslogtreecommitdiff
path: root/undead.c
diff options
context:
space:
mode:
Diffstat (limited to 'undead.c')
-rw-r--r--undead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/undead.c b/undead.c
index 78abf28..1c52c27 100644
--- a/undead.c
+++ b/undead.c
@@ -1031,7 +1031,7 @@ static char *new_game_desc(const game_params *params, random_state *rs,
/* Monsters / Mirrors ratio should be balanced */
ratio = (float)new->common->num_total /
(float)(new->common->params.w * new->common->params.h);
- if (ratio < 0.48 || ratio > 0.78) {
+ if (ratio < 0.48F || ratio > 0.78F) {
free_game(new);
continue;
}