summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-12-01 12:32:16 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-12-01 12:37:47 +0100
commite2580049911e4134de1ced7675186bcdbea017bc (patch)
tree33a1cf2386828f4ce3533954bddd55327de03d3f /crawl-ref/source/spells4.cc
parenta825726eed2e6f9387c495d6858170aa22983bed (diff)
downloadcrawl-ref-e2580049911e4134de1ced7675186bcdbea017bc.tar.gz
crawl-ref-e2580049911e4134de1ced7675186bcdbea017bc.zip
Disallow statues for passwall.
Statues aren't really walls, and it hardly makes passwall less useful.
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index eea4f514e8..cfee0b35f8 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -902,14 +902,11 @@ bool _feat_is_passwallable(dungeon_feature_type feat)
{
// Irony: you can passwall through a secret door but not a door.
// Worked stone walls are out, they're not diggable and
- // are used for impassable walls... I'm not sure we should
- // even allow statues (should be contiguous rock). -- bwr
+ // are used for impassable walls...
switch (feat)
{
case DNGN_ROCK_WALL:
case DNGN_CLEAR_ROCK_WALL:
- case DNGN_ORCISH_IDOL:
- case DNGN_GRANITE_STATUE:
case DNGN_SECRET_DOOR:
return (true);
default: