From 3672daef4bdeebdb96939bd32448e08b1f05358c Mon Sep 17 00:00:00 2001 From: zelgadis Date: Fri, 30 Jan 2009 09:06:17 +0000 Subject: 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 --- crawl-ref/source/abyss.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/abyss.cc') 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 ¢re, // 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); -- cgit v1.2.3-54-g00ecf