From 268bc2a45c52e1940e0efd361bcf8014c8288198 Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 28 Jul 2009 23:12:24 +0000 Subject: Forward-port 0.5 r10458 to trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10460 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-cast.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/spl-cast.cc') diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index d20fc01ee7..0d6b7ed2b1 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -197,11 +197,16 @@ static bool _spell_no_hostile_in_range(spell_type spell, int minRange) case SPELL_PROJECTED_NOISE: case SPELL_CONJURE_FLAME: case SPELL_DIG: + + // Airstrike has LOS_RANGE and can go through glass walls. + case SPELL_AIRSTRIKE: + // These bounce and may be aimed elsewhere to bounce at monsters // outside range (I guess). case SPELL_SHOCK: case SPELL_LIGHTNING_BOLT: return (false); + case SPELL_EVAPORATE: case SPELL_MEPHITIC_CLOUD: case SPELL_FIREBALL: -- cgit v1.2.3-54-g00ecf