summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index ab10abb259..b13f745005 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -3174,7 +3174,7 @@ static void _place_traps(int level_number)
// If we get shaft a second time, turn it into an alarm trap, or
// if we got nothing.
- if (ts.type == TRAP_SHAFT || ts.type>= NUM_TRAPS)
+ if (ts.type == TRAP_SHAFT || ts.type >= NUM_TRAPS)
ts.type = TRAP_ALARM;
}
}