summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-30 09:06:17 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-30 09:06:17 +0000
commit3672daef4bdeebdb96939bd32448e08b1f05358c (patch)
tree6286974f25cebcb6421ea00766307aa9ef2b67cb /crawl-ref/source/abyss.cc
parent10676923ec3e6a636e021089ef8e0e39c097e983 (diff)
downloadcrawl-ref-3672daef4bdeebdb96939bd32448e08b1f05358c.tar.gz
crawl-ref-3672daef4bdeebdb96939bd32448e08b1f05358c.zip
Store level generation information in env.properties, so that it can be
included in a crash dump even if the crash happens after level generation is complete. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8849 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index 76ce4be6b9..38c9c782bd 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -81,6 +81,11 @@ static bool _place_feature_near( const coord_def &centre,
// Public for abyss generation.
void generate_abyss()
{
+ extern std::string dgn_Build_Method;
+
+ dgn_Build_Method += " abyss";
+ dgn_Layout_Type = "abyss";
+
#ifdef DEBUG_ABYSS
mprf(MSGCH_DIAGNOSTICS,
"generate_abyss(); turn_on_level: %d", env.turns_on_level);