summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/spells1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 2c20e508c0..72c2748123 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -70,7 +70,7 @@ int blink(void)
direction(beam, DIR_TARGET, TARG_ANY);
- if (!beam.isValid)
+ if (!beam.isValid || coord_def(beam.tx, beam.ty) == you.pos())
{
if (!yesno("Are you sure you want to cancel this blink?",
false, 'n'))