From 487e80ffa4d3e30e73ae20aae57711d125492758 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Mon, 12 Oct 2009 22:53:57 +0200 Subject: Let missiles go past bushes. --- crawl-ref/source/beam.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 33f810a08b..9fcd2eb859 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -4591,6 +4591,13 @@ void bolt::affect_monster(monsters* mon) return; } + // Missiles go past bushes. + if (!is_beam && mon->type == MONS_BUSH) + { + apply_hit_funcs(mon, 0); + return; + } + // Fire storm creates these, so we'll avoid affecting them if (name == "great blast of fire" && mon->type == MONS_FIRE_VORTEX) { -- cgit v1.2.3-54-g00ecf