summaryrefslogtreecommitdiffstats
path: root/trunk/source/spells3.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-02 12:54:15 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-02 12:54:15 +0000
commitd5e5340c3926d1cf97f6cba151ffaecb20bfb35f (patch)
treed1faf7d5b27df8f3c523a8dd33357804118e62b1 /trunk/source/spells3.cc
parent7b2204d69f21d7075e4666ee032d7a129081bc4b (diff)
downloadcrawl-ref-d5e5340c3926d1cf97f6cba151ffaecb20bfb35f.tar.gz
crawl-ref-d5e5340c3926d1cf97f6cba151ffaecb20bfb35f.zip
Integrated travel patch as of 20060727
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/spells3.cc')
-rw-r--r--trunk/source/spells3.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/source/spells3.cc b/trunk/source/spells3.cc
index fd6ea6043e..e2a2bf325f 100644
--- a/trunk/source/spells3.cc
+++ b/trunk/source/spells3.cc
@@ -613,6 +613,8 @@ void you_teleport2( bool allow_control, bool new_abyss_area )
if (current_delay_action() == DELAY_BUTCHER)
stop_delay();
+ interrupt_activity( AI_TELEPORT );
+
if (you.duration[DUR_CONDENSATION_SHIELD] > 0)
{
you.duration[DUR_CONDENSATION_SHIELD] = 0;
@@ -1059,7 +1061,7 @@ void portal(void)
you.your_level = target_level - 1;
grd[you.x_pos][you.y_pos] = DNGN_STONE_STAIRS_DOWN_I;
- down_stairs( true, old_level );
+ down_stairs( true, old_level, true );
untag_followers();
}