diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-30 18:32:45 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-30 18:32:45 +0000 |
commit | 997a1b0dbde19bb2e09fdc16ad7ac8d7997fc85b (patch) | |
tree | f1a4cd0f671981d3cdaed8d2cf69a84dd0a500a3 | |
parent | 58e4e5380bfe6044d9ce0361d1e778a8a41564f4 (diff) | |
download | crawl-ref-997a1b0dbde19bb2e09fdc16ad7ac8d7997fc85b.tar.gz crawl-ref-997a1b0dbde19bb2e09fdc16ad7ac8d7997fc85b.zip |
Blink cancel protect for 0.2.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.2@1133 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 |
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')) |