From 8f7a0fd5e1e4217ce5443eb4d488ac3d4010dde0 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 9 Feb 2007 13:09:30 +0000 Subject: 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 --- crawl-ref/source/misc.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/misc.cc') 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) -- cgit v1.2.3-54-g00ecf