summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index d7f9e6c996..6ab2430a3e 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1304,8 +1304,8 @@ static bool _do_ability(const ability_def& abil)
const int pow = calc_spell_power(SPELL_DELAYED_FIREBALL, true);
const int fake_range = spell_range(SPELL_FIREBALL, pow, false);
- if (!spell_direction(spd, beam, DIR_NONE, TARG_ENEMY, fake_range))
- return (false);
+ if (!spell_direction(spd, beam, DIR_NONE, TARG_HOSTILE, fake_range))
+ return (false);
beam.range = spell_range(SPELL_FIREBALL, pow, true);
if (!fireball(pow, beam))