summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-26 12:36:31 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-26 12:36:31 +0000
commitee273b62d39f3fd55b9aad600265514f26c5cd0d (patch)
treed5aab299f25f6313d3e3bc97ba63d50dcc0c4629 /crawl-ref/source/dungeon.cc
parent8467a7045310f1d1054d043b51c271ab95e91beb (diff)
downloadcrawl-ref-ee273b62d39f3fd55b9aad600265514f26c5cd0d.tar.gz
crawl-ref-ee273b62d39f3fd55b9aad600265514f26c5cd0d.zip
All vaults are now "uniq" (one-use-per-game) by default. Vaults that want
to be reused must be tagged "allow_dup". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2213 c06c8d41-db1a-0410-9941-cceddc491573
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 040fa54c7c..95a033309c 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -371,7 +371,7 @@ bool unset_level_flags(unsigned long flags, bool silent)
static void dgn_register_vault(const map_def &map)
{
- if (map.has_tag("uniq"))
+ if (!map.has_tag("allow_dup"))
you.uniq_map_names.insert(map.name);
std::vector<std::string> tags = split_string(" ", map.tags);