summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-15 14:37:29 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-15 14:55:40 -0600
commitca0822add27cfd9c9871abebb43b43a4f3bc93d7 (patch)
treea9591eddd99a0c052e3b9692352ad31952844f4c /crawl-ref/source/dungeon.cc
parent41433f0fcd2501fbaf8c75c8e69c1ad75aa36d8d (diff)
downloadcrawl-ref-ca0822add27cfd9c9871abebb43b43a4f3bc93d7.tar.gz
crawl-ref-ca0822add27cfd9c9871abebb43b43a4f3bc93d7.zip
Make mini_float the default; add a no_exits tag instead.
There have been so many problems with minivaults not having exits that this is an easier solution than the alternative. You're still allowed to explicitly place exits, of course, in which case floating exits go away. There are a couple of other small tweaks to the level documentation here as well.
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index acbd893512..f5d0968690 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4332,7 +4332,7 @@ static const vault_placement *_build_vault_impl(const map_def *vault,
_ruin_vault(place);
if (place.exits.empty() && placed_vault_orientation != MAP_ENCOMPASS
- && (!place.map.is_minivault() || place.map.has_tag("mini_float")))
+ && (!place.map.is_minivault() || !place.map.has_tag("no_exits")))
{
_pick_float_exits(place, place.exits);
}