diff options
author | Zannick <jokeserver@gmail.com> | 2012-12-27 19:35:52 -0800 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-12-30 19:36:41 -0500 |
commit | 03bdcc64772ed42c7f97f4c12db6db57826e36ba (patch) | |
tree | 3a1cfd5f0c6eef35563c8bbaa122293962ff22a6 /crawl-ref/source/env.h | |
parent | 4a24e0729269623fcb965e002d740c1b4d7ef555 (diff) | |
download | crawl-ref-03bdcc64772ed42c7f97f4c12db6db57826e36ba.tar.gz crawl-ref-03bdcc64772ed42c7f97f4c12db6db57826e36ba.zip |
Mark unique subvaults temporarily used (#6328).
Committer note: uniq_TAG and luniq_TAG still don't work properly with
subvaults, but this at least fixes the multiple-silver-rune problem (and
also duplicate quadrants in grunt_profane_halls).
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r-- | crawl-ref/source/env.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h index a096b8cf45..981766a9e6 100644 --- a/crawl-ref/source/env.h +++ b/crawl-ref/source/env.h @@ -124,6 +124,9 @@ struct crawl_environment // A stack that accumulates subvaults being placed. A failure may pop a // part of the stack before retrying. vector<string> new_subvault_names, new_subvault_tags; + // A set of the unique subvaults being placed. These are considered used + // for the purposes of placing additional subvaults. + string_set new_used_subvault_names; // Vault currently being placed, for crash dump purposes. string placing_vault; |