diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-09-08 10:13:44 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-09-08 10:13:44 +0200 |
commit | 2631789ac96e824e685b96b58d022074124ab6d5 (patch) | |
tree | 18f501ee86e2bea84d8b606ce6132a3853eef95b /crawl-ref/source/losparam.cc | |
parent | aa1934c4b0a62a103122e83affc5d14ea3f04ddf (diff) | |
download | crawl-ref-2631789ac96e824e685b96b58d022074124ab6d5.tar.gz crawl-ref-2631789ac96e824e685b96b58d022074124ab6d5.zip |
Revert "make statues block opacity_no_trans". It'd be inconsistent with other statues.
Plus, there are multiple ways for monsters to affect you from behind a statue,
so the fix to i_feel_safe needs to be smarter.
This reverts commit a61615850d9fe7b3f97026472ebac4147f88b5c9.
Diffstat (limited to 'crawl-ref/source/losparam.cc')
-rw-r--r-- | crawl-ref/source/losparam.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/losparam.cc b/crawl-ref/source/losparam.cc index 50db8d449a..c77cfa9676 100644 --- a/crawl-ref/source/losparam.cc +++ b/crawl-ref/source/losparam.cc @@ -43,7 +43,7 @@ opacity_type opacity_no_trans::operator()(const coord_def& p) const opacity_type base = opc_default(p); dungeon_feature_type f = env.grid(p); - if (feat_is_opaque(f) || feat_is_solid(f) || f == DNGN_TREE) + if (feat_is_opaque(f) || feat_is_wall(f) || f == DNGN_TREE) return OPC_OPAQUE; else return base; |