diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2013-11-29 18:03:12 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2013-11-29 18:15:35 -0700 |
commit | 6ad42390c3604e253364b199029828dfb95d1f8a (patch) | |
tree | da90e06a940eee9b5a5baa82944311edaac32981 /crawl-ref/source/dgn-labyrinth.cc | |
parent | db379c4e177188c2cf140a9e5012b965eb737a0b (diff) | |
download | crawl-ref-6ad42390c3604e253364b199029828dfb95d1f8a.tar.gz crawl-ref-6ad42390c3604e253364b199029828dfb95d1f8a.zip |
Also drop the "minotaur" and "lab" tags.
The primary vault in Lab is now the minotaur vault; minivaults in Lab
are now taken from minivaults in-depth for Lab.
Diffstat (limited to 'crawl-ref/source/dgn-labyrinth.cc')
-rw-r--r-- | crawl-ref/source/dgn-labyrinth.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/dgn-labyrinth.cc b/crawl-ref/source/dgn-labyrinth.cc index d0ff7464e1..0816694859 100644 --- a/crawl-ref/source/dgn-labyrinth.cc +++ b/crawl-ref/source/dgn-labyrinth.cc @@ -243,7 +243,7 @@ static void _place_extra_lab_minivaults() set<const map_def*> vaults_used; while (true) { - const map_def *vault = random_map_for_tag("lab", false); + const map_def *vault = random_map_in_depth(level_id::current(), true); if (!vault || vaults_used.count(vault)) break; @@ -508,7 +508,8 @@ void dgn_build_labyrinth_level() GYM - LABYRINTH_BORDER - 1); // First decide if we're going to use a Lab minivault. - const map_def *vault = random_map_for_tag("minotaur", false); + const map_def *vault = random_map_in_depth(level_id::current(), false, + MB_FALSE); vault_placement place; coord_def end; |