From 2100de921196354c2e4187646a9c2c8d29792fb0 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 14 Nov 2009 00:43:34 +0100 Subject: Convert monster spell BLINK_OTHER to blink victim closer to caster. This is meant for Roxanne, but the other users also got this for now. --- crawl-ref/source/beam.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index a4cafaf209..abbae234c7 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -64,6 +64,7 @@ #include "traps.h" #include "view.h" #include "shout.h" +#include "teleport.h" #include "viewchar.h" #include "viewgeom.h" #include "xom.h" @@ -3919,7 +3920,7 @@ void bolt::affect_player_enchantment() break; case BEAM_BLINK: - random_blink(false); + blink_closer(source); obvious_effect = true; break; -- cgit v1.2.3-54-g00ecf