summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-14 00:43:34 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-14 00:45:06 +0100
commit2100de921196354c2e4187646a9c2c8d29792fb0 (patch)
tree3e62ad520cba4f8e16d684996b38f3e0c12dd242 /crawl-ref/source/beam.cc
parented044f5b883fb2cea4abf3e2bb8d6278a1483ebe (diff)
downloadcrawl-ref-2100de921196354c2e4187646a9c2c8d29792fb0.tar.gz
crawl-ref-2100de921196354c2e4187646a9c2c8d29792fb0.zip
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.
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc3
1 files changed, 2 insertions, 1 deletions
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;