diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-18 14:13:15 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-18 14:13:15 +0000 |
commit | 8a2d405ada0648369b43a954fbaf2333186cae4b (patch) | |
tree | 2ae5dd2f36e468d594b1cd03fb66e5313dcfd079 /crawl-ref/source/files.cc | |
parent | eaebdf783c9f82f01854421b9825988824410684 (diff) | |
download | crawl-ref-8a2d405ada0648369b43a954fbaf2333186cae4b.tar.gz crawl-ref-8a2d405ada0648369b43a954fbaf2333186cae4b.zip |
Fix royal jelly death in the Abyss destroying you.your_level.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7861 c06c8d41-db1a-0410-9941-cceddc491573
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... |