summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-scan.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2014-01-01 22:32:59 +0100
committerAdam Borowski <kilobyte@angband.pl>2014-01-02 22:52:48 +0100
commit2642df196ded763d42c7df1093d45ccbf139a373 (patch)
treec66b091259bd775b3926e072bc95e05a07f4585f /crawl-ref/source/dbg-scan.cc
parentd1f8b2021992989f2a504b1524f5ee69c7d5c03a (diff)
downloadcrawl-ref-2642df196ded763d42c7df1093d45ccbf139a373.tar.gz
crawl-ref-2642df196ded763d42c7df1093d45ccbf139a373.zip
Purge away HT_ROCK and HT_INCORPOREAL.
Diffstat (limited to 'crawl-ref/source/dbg-scan.cc')
-rw-r--r--crawl-ref/source/dbg-scan.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/dbg-scan.cc b/crawl-ref/source/dbg-scan.cc
index b7adcc868b..2f8e7ada2a 100644
--- a/crawl-ref/source/dbg-scan.cc
+++ b/crawl-ref/source/dbg-scan.cc
@@ -409,8 +409,7 @@ void debug_mons_scan()
}
} // if (mgrd(m->pos()) != i)
- if (feat_is_wall(grd(pos)) && mons_primary_habitat(m) != HT_ROCK
- && mons_primary_habitat(m) != HT_INCORPOREAL)
+ if (feat_is_wall(grd(pos)))
{
#if defined(DEBUG_FATAL)
// if we're going to dump, point out the culprit