summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index aa4eba2335..86da9f5936 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -231,7 +231,7 @@ bool grid_is_trap(dungeon_feature_type grid, bool undiscovered_too)
{
return (grid == DNGN_TRAP_MECHANICAL || grid == DNGN_TRAP_MAGICAL
|| grid == DNGN_TRAP_NATURAL
- || (undiscovered_too && grid == DNGN_UNDISCOVERED_TRAP));
+ || undiscovered_too && grid == DNGN_UNDISCOVERED_TRAP);
}
bool grid_is_water(dungeon_feature_type grid)