summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index 1434640c19..d399ae7cd1 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -928,7 +928,6 @@ dungeon_feature_type trap_category(trap_type type)
// Returns index of the trap for a given (x,y) coordinate pair {dlb}
int trap_at_xy(int which_x, int which_y)
{
-
for (int which_trap = 0; which_trap < MAX_TRAPS; which_trap++)
{
if (env.trap[which_trap].x == which_x