summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-04 08:03:13 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-04 08:03:13 +0000
commit3f06459851fbce40c0f213afe13ae47034a8e736 (patch)
tree8cc70a146382c3e6be04d31472754302f19062b2 /crawl-ref
parent48be83b471984a42b19b211f292284f4c8391376 (diff)
downloadcrawl-ref-3f06459851fbce40c0f213afe13ae47034a8e736.tar.gz
crawl-ref-3f06459851fbce40c0f213afe13ae47034a8e736.zip
Removed a couple of unnecessary viewport-center calls.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1527 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/acr.cc1
-rw-r--r--crawl-ref/source/spells3.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 9bb5a0abd7..3a3a9548b9 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1349,7 +1349,6 @@ void process_command( command_type cmd )
#endif
plox[0] = 0;
show_map(plox, true);
- crawl_view.set_player_at(you.pos(), true);
redraw_screen();
if (plox[0] > 0)
start_travel(plox[0], plox[1]);
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 8394a1c4f6..36f05cbd25 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -696,7 +696,6 @@ static bool teleport_player( bool allow_control, bool new_abyss_area )
// Necessary to update the view centre.
you.moveto(you.pos());
}
- crawl_view.set_player_at(you.pos(), true);
return !is_controlled;
}