summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 38373820a5..5885526f29 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -72,6 +72,12 @@ int blink(void)
if (!beam.isValid)
{
+ if (!yesno("Are you sure you want to cancel this blink?",
+ false, 'n'))
+ {
+ mesclr();
+ continue;
+ }
canned_msg(MSG_OK);
return (-1); // early return {dlb}
}