summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 8c91a76616..39f599bb2e 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -308,6 +308,11 @@ bool builder(int level_number, int level_type)
const std::set<std::string> uniq_tags = you.uniq_map_tags;
const std::set<std::string> uniq_names = you.uniq_map_names;
+ // Save a copy of unique creatures for vetoes.
+ temp_unique_creatures = you.unique_creatures;
+ // And unrands
+ temp_unique_items = you.unique_items;
+
unwind_bool levelgen(Generating_Level, true);
// N tries to build the level, after which we bail with a capital B.
@@ -1831,11 +1836,6 @@ static void _build_dungeon_level(int level_number, int level_type)
return;
}
- // Save a copy of unique creatures in case we get vetoed.
- temp_unique_creatures = you.unique_creatures;
- // And unrands
- temp_unique_items = you.unique_items;
-
// Try to place minivaults that really badly want to be placed. Still
// no guarantees, seeing this is a minivault.
_place_minivaults();