summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-11 23:34:34 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-11 23:34:34 +0000
commitaa6dd78dceb8d09547021cd319aaaef053df1f4f (patch)
treee54d0903af23d675667ae1802d864ef9fc732c6d /crawl-ref/source
parent66a5899fafcf34e1e473b4cbac42938ce90300bb (diff)
downloadcrawl-ref-aa6dd78dceb8d09547021cd319aaaef053df1f4f.tar.gz
crawl-ref-aa6dd78dceb8d09547021cd319aaaef053df1f4f.zip
Fix [2590746]: casting Blink with teleport control active did
not clear trapping nets. This might be have caused a few other similar bugs (maybe [2456789], for example.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9028 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/spells4.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index ef1c31ffb9..70fc989e2f 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -2421,6 +2421,8 @@ static int _quadrant_blink(coord_def where, int pow, int, actor *)
if (!found)
return(0);
+ clear_trapping_net();
+
you.moveto(target);
return 1;
}