diff options
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 691840293a..e79d1537bc 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1678,7 +1678,7 @@ static void _restore_level(const level_id &original) { // Reload the original level. you.where_are_you = original.branch; - you.your_level = original.absdepth(); + you.your_level = original.dungeon_absdepth(); you.level_type = original.level_type; load( DNGN_STONE_STAIRS_DOWN_I, LOAD_VISITOR, @@ -1710,7 +1710,7 @@ bool apply_to_level(const level_id &level, bool preserve_current, _save_level(you.your_level, you.level_type, you.where_are_you); you.where_are_you = level.branch; - you.your_level = level.absdepth(); + you.your_level = level.dungeon_absdepth(); you.level_type = level.level_type; // Load the dungeon level... |