summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-25 00:41:00 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-25 00:41:00 +0000
commitf53c0fd020b3619b8488f23793c08fd39c160f29 (patch)
tree2ea7af2190f968362093a69e647b8e3fd066f9a4 /crawl-ref/source/files.cc
parent470bb5822ec94b17f4c1dc4b04a036b2358bc6c1 (diff)
downloadcrawl-ref-f53c0fd020b3619b8488f23793c08fd39c160f29.tar.gz
crawl-ref-f53c0fd020b3619b8488f23793c08fd39c160f29.zip
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
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc6
1 files changed, 5 insertions, 1 deletions
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)