diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-11 23:18:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-11 23:18:30 +0000 |
commit | 144d923598efdf70d12d19437b2a59dee0015c01 (patch) | |
tree | 896505eebfbe235c63a051e54b1ddca2a6263e52 /crawl-ref/source/beam.cc | |
parent | cc99e42dae0091ba2ad43dde3db0660e083bb793 (diff) | |
download | crawl-ref-144d923598efdf70d12d19437b2a59dee0015c01.tar.gz crawl-ref-144d923598efdf70d12d19437b2a59dee0015c01.zip |
Detected secret doors are now treated as a distinct new door type, so
that stupid monsters will continue to ignore them as long as they've
never been opened.
Shifts wall and door types of existing save files.
Also apply patch by one the "nobodies" to make bloody tiles show up again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10167 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 744a90480f..502b4f18f5 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -4734,7 +4734,7 @@ mon_resist_type bolt::try_enchant_monster(monsters *mon) { if (mons_immune_magic(mon)) return (MON_UNAFFECTED); - + if (flavour != BEAM_POLYMORPH || !mons_is_shapeshifter(mon)) if (check_mons_resist_magic(mon, ench_power)) return (MON_RESIST); @@ -5426,7 +5426,7 @@ void bolt::determine_affected_cells(explosion_map& m, const coord_def& delta, // Check to see if we're blocked by a wall. if (grid_is_wall(dngn_feat) || dngn_feat == DNGN_SECRET_DOOR - || dngn_feat == DNGN_CLOSED_DOOR) + || grid_is_closed_door(dngn_feat)) { // Special case: explosion originates from rock/statue // (e.g. Lee's Rapid Deconstruction) - in this case, ignore |