summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
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;