summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/startup.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-11 19:32:49 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-10-13 03:27:21 +0200
commit93e91faddff54b9debc45684eeeb1e322902bdfa (patch)
tree04c88a397c7cc4e3b32bc8c3f0a5b96872eeb260 /crawl-ref/source/startup.cc
parentcc301ba6b63996bc5e0d20748c3c0640b59409ec (diff)
downloadcrawl-ref-93e91faddff54b9debc45684eeeb1e322902bdfa.tar.gz
crawl-ref-93e91faddff54b9debc45684eeeb1e322902bdfa.zip
Allow easily aborting mapstat.
Ctrl-C should probably be enabled during database rebuild, too.
Diffstat (limited to 'crawl-ref/source/startup.cc')
-rw-r--r--crawl-ref/source/startup.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc
index 4fa94555c3..b14caa8410 100644
--- a/crawl-ref/source/startup.cc
+++ b/crawl-ref/source/startup.cc
@@ -155,6 +155,7 @@ static void _initialize()
#ifdef DEBUG_DIAGNOSTICS
if (crawl_state.map_stat_gen)
{
+ release_cli_signals();
generate_map_stats();
end(0, false);
}