From f53c0fd020b3619b8488f23793c08fd39c160f29 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 25 Nov 2008 00:41:00 +0000 Subject: Pandemonium and the Abyss were hosed, refixed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7600 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 057a3a32bc..47b413b01b 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1107,7 +1107,11 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, { _grab_followers(); - _save_level( old_level, old_level_type, old_branch ); + if (old_level_type == LEVEL_DUNGEON + || old_level_type != you.level_type) + { + _save_level( old_level, old_level_type, old_branch ); + } } if (make_changes) -- cgit v1.2.3-54-g00ecf