diff options
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index a80762d568..ce60981602 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1323,10 +1323,6 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area ) if (is_controlled) { - // no longer held in net - if (pos != you.pos()) - clear_trapping_net(); - if (!see_grid(pos)) large_change = true; @@ -1390,10 +1386,6 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area ) || env.cgrid(newpos) != EMPTY_CLOUD || need_distance_check && (newpos - centre).abs() < 34*34); - // no longer held in net - if (newpos != you.pos()) - clear_trapping_net(); - if ( newpos == you.pos() ) mpr("Your surroundings flicker for a moment."); else if ( see_grid(newpos) ) @@ -1404,11 +1396,7 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area ) large_change = true; } - you.position = newpos; - - // Necessary to update the view centre. - you.moveto(you.pos()); - + you.moveto(newpos); } if (large_change) |