summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/env.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-15 20:10:05 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-15 20:18:32 +0200
commit4fc70b324df1c64ed9b492d9942244c031dd9066 (patch)
tree665726a90c1194c9db8493e2c2eac2647eb91038 /crawl-ref/source/env.h
parent03621593cdcd607ab49c552d1eb4c17472f28cc6 (diff)
downloadcrawl-ref-4fc70b324df1c64ed9b492d9942244c031dd9066.tar.gz
crawl-ref-4fc70b324df1c64ed9b492d9942244c031dd9066.zip
Note the vault and subvaults being placed when a crash happens.
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r--crawl-ref/source/env.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h
index bed6bdd3e5..2bf25e3e5e 100644
--- a/crawl-ref/source/env.h
+++ b/crawl-ref/source/env.h
@@ -125,6 +125,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;
+
+ // Vault currently being placed, for crash dump purposes.
+ string placing_vault;
};
#ifdef DEBUG_GLOBALS