summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 1ea11adf47..f9c865450d 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -207,11 +207,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: