From 144d923598efdf70d12d19437b2a59dee0015c01 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 11 Jul 2009 23:18:30 +0000 Subject: 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 --- crawl-ref/source/beam.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/beam.cc') 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 -- cgit v1.2.3-54-g00ecf