From 1b6bfb7856cb5590e9e10c1e7317eba775409b21 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 21 Sep 2009 18:05:35 +0000 Subject: Apply a patch by an anonymous contributor to fix the bug with Lee's Rapid Deconstruction having no effect at low power. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10767 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 8 ++++++-- 1 file changed, 6 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 b3a4c334e0..855060f95c 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -3075,6 +3075,10 @@ bool bolt::affects_wall(dungeon_feature_type wall) const if (flavour == BEAM_NUKE) return (true); + // Lee's Rapid Deconstruction + if (flavour == BEAM_FRAG) + return (true); + return (false); } @@ -5495,8 +5499,8 @@ bool bolt::explode(bool show_more, bool hole_in_the_middle) #if DEBUG_DIAGNOSTICS mprf(MSGCH_DIAGNOSTICS, - "explosion at (%d, %d) : t=%d c=%d f=%d hit=%d dam=%dd%d", - pos().x, pos().y, type, colour, flavour, hit, damage.num, damage.size); + "explosion at (%d, %d) : t=%d c=%d f=%d hit=%d dam=%dd%d r=%d", + pos().x, pos().y, type, colour, flavour, hit, damage.num, damage.size, r); #endif // make a noise -- cgit v1.2.3-54-g00ecf