summaryrefslogtreecommitdiff
path: root/src/generate.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-10 19:31:55 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-10 19:31:55 +0100
commitd4fc91614db525d7c6306fd8dfaaa98763358dec (patch)
tree02891dd4807364a6f8df55583ac6c5cd797e7049 /src/generate.c
parentb75726abe39bfcd82186ca22992644d10985e914 (diff)
Disambiguate misleading expression.
Diffstat (limited to 'src/generate.c')
-rw-r--r--src/generate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generate.c b/src/generate.c
index d027cf4e..8c99027f 100644
--- a/src/generate.c
+++ b/src/generate.c
@@ -1078,7 +1078,7 @@ static void alloc_stairs(int feat, int num, int walls, int branch)
/* Quest -- must go up */
else if ((is_quest(dun_level) && (dun_level >= 1)) ||
((dun_level >= d_info[dungeon_type].maxdepth) &&
- (!dungeon_flags1 & DF1_FORCE_DOWN)))
+ (!(dungeon_flags1 & DF1_FORCE_DOWN))))
{
/* Clear previous contents, add up stairs */
if (dungeon_flags1 & DF1_FLAT)