summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-asrt.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-03 16:52:30 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-10-03 16:53:28 +0200
commitc27e88cd9deff03c5f6c9c4c10026c0501f3356d (patch)
treebf096be9ca594b6928bd80cea83ad39baaa77473 /crawl-ref/source/dbg-asrt.cc
parent4eb1f020972155a08c030a519b22d84673de375e (diff)
downloadcrawl-ref-c27e88cd9deff03c5f6c9c4c10026c0501f3356d.tar.gz
crawl-ref-c27e88cd9deff03c5f6c9c4c10026c0501f3356d.zip
Put the Generating_Level global into crawl_state.
Also, drop the caps.
Diffstat (limited to 'crawl-ref/source/dbg-asrt.cc')
-rw-r--r--crawl-ref/source/dbg-asrt.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/dbg-asrt.cc b/crawl-ref/source/dbg-asrt.cc
index 16f53f5630..57009d6ed4 100644
--- a/crawl-ref/source/dbg-asrt.cc
+++ b/crawl-ref/source/dbg-asrt.cc
@@ -18,7 +18,6 @@
#include "dbg-util.h"
#include "directn.h"
#include "dlua.h"
-#include "dungeon.h"
#include "env.h"
#include "initfile.h"
#include "itemname.h"
@@ -729,7 +728,7 @@ void do_crash_dump()
#endif
// Now a screenshot
- if (Generating_Level)
+ if (crawl_state.generating_level)
{
fprintf(file, "\nMap:\n");
dump_map(file, true);