diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-10-03 16:52:30 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-10-03 16:53:28 +0200 |
commit | c27e88cd9deff03c5f6c9c4c10026c0501f3356d (patch) | |
tree | bf096be9ca594b6928bd80cea83ad39baaa77473 /crawl-ref/source/dbg-scan.cc | |
parent | 4eb1f020972155a08c030a519b22d84673de375e (diff) | |
download | crawl-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-scan.cc')
-rw-r--r-- | crawl-ref/source/dbg-scan.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dbg-scan.cc b/crawl-ref/source/dbg-scan.cc index 4d341e3d5f..55d0fe30e7 100644 --- a/crawl-ref/source/dbg-scan.cc +++ b/crawl-ref/source/dbg-scan.cc @@ -233,7 +233,7 @@ void debug_item_scan(void) #ifdef DEBUG_MONS_SCAN static void _announce_level_prob(bool warned) { - if (!warned && Generating_Level) + if (!warned && crawl_state.generating_level) { mpr("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", MSGCH_ERROR); mpr("mgrd problem occurred during level generation", MSGCH_ERROR); @@ -552,7 +552,7 @@ void debug_mons_scan() // If this wasn't the result of generating a level then there's nothing // more to report. - if (!Generating_Level) + if (!crawl_state.generating_level) { // Force the dev to notice problems. :P more(); |