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.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index ae5ed894db..8f8344380d 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -328,6 +328,11 @@ bool feat_is_secret_door(dungeon_feature_type feat)
return (feat == DNGN_SECRET_DOOR || feat == DNGN_DETECTED_SECRET_DOOR);
}
+bool feat_is_statue_or_idol(dungeon_feature_type feat)
+{
+ return (feat >= DNGN_ORCISH_IDOL && feat <= DNGN_STATUE_RESERVED);
+}
+
bool feat_is_rock(dungeon_feature_type feat)
{
return (feat == DNGN_ORCISH_IDOL