summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-09 13:09:30 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-09 13:09:30 +0000
commit8f7a0fd5e1e4217ce5443eb4d488ac3d4010dde0 (patch)
treed29ec59de73984b0e39af01981109d033fee23c8 /crawl-ref/source/misc.cc
parent052f906cf8253d9586caf5e735b1677a490833bb (diff)
downloadcrawl-ref-8f7a0fd5e1e4217ce5443eb4d488ac3d4010dde0.tar.gz
crawl-ref-8f7a0fd5e1e4217ce5443eb4d488ac3d4010dde0.zip
Rename init_new_level to something more descriptive.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@947 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index b3dd260423..ab6724342b 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -676,8 +676,9 @@ void up_stairs(void)
if (you.skills[SK_TRANSLOCATIONS] > 0 && !allow_control_teleport( true ))
mpr( "You sense a powerful magical force warping space.", MSGCH_WARN );
- // Tell the travel code that we're now on a new level
- init_new_level(true);
+ // Tell stash-tracker and travel that we've changed levels.
+ trackers_init_new_level(true);
+
if (collect_travel_data)
{
// Update stair information for the stairs we just ascended, and the
@@ -1045,7 +1046,7 @@ void down_stairs( bool remove_stairs, int old_level, int force_stair )
if (you.skills[SK_TRANSLOCATIONS] > 0 && !allow_control_teleport( true ))
mpr( "You sense a powerful magical force warping space.", MSGCH_WARN );
- init_new_level(true);
+ trackers_init_new_level(true);
if (collect_travel_data)
{
// Update stair information for the stairs we just descended, and the
@@ -1079,7 +1080,7 @@ void down_stairs( bool remove_stairs, int old_level, int force_stair )
}
} // end down_stairs()
-void init_new_level(bool transit)
+void trackers_init_new_level(bool transit)
{
travel_init_new_level();
if (transit)