summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index e7285e8178..792f541063 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1133,6 +1133,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
tmp_file_pairs[you.your_level][you.where_are_you] = true;
}
+ _clear_env_map();
builder(you.your_level, you.level_type);
just_created_level = true;
@@ -1191,9 +1192,6 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
_close_level_gates();
}
- if (just_created_level)
- _clear_env_map();
-
// Here's the second cloud clearing, on load (see above).
if (make_changes)
{