summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index aaac718e4a..eec7a2f727 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -3386,11 +3386,16 @@ static bool handle_spell( struct monsters *monster, bolt & beem )
}
// FINALLY! determine primary spell effects {dlb}:
- if (spell_cast == MS_BLINK && monsterNearby)
- // why only cast blink if nearby? {dlb}
+ if (spell_cast == MS_BLINK)
{
- simple_monster_message(monster, " blinks!");
- monster_blink(monster);
+ // why only cast blink if nearby? {dlb}
+ if (monsterNearby)
+ {
+ simple_monster_message(monster, " blinks!");
+ monster_blink(monster);
+ }
+ else
+ return (false);
}
else
{