diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-10-11 08:17:06 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-10-13 03:27:21 +0200 |
commit | cc301ba6b63996bc5e0d20748c3c0640b59409ec (patch) | |
tree | d1a639f68124706f49f3e8cfbb366d62ba127ff9 /crawl-ref/source/startup.cc | |
parent | fbc51d48feb579472949da03d5cbf4bd14fc6fb7 (diff) | |
download | crawl-ref-cc301ba6b63996bc5e0d20748c3c0640b59409ec.tar.gz crawl-ref-cc301ba6b63996bc5e0d20748c3c0640b59409ec.zip |
Don't blank the screen during --mapstat.
Not being in curses should allow providing some output.
Diffstat (limited to 'crawl-ref/source/startup.cc')
-rw-r--r-- | crawl-ref/source/startup.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc index 06dcca8177..4fa94555c3 100644 --- a/crawl-ref/source/startup.cc +++ b/crawl-ref/source/startup.cc @@ -144,11 +144,6 @@ static void _initialize() if (crawl_state.build_db) end(0); - if (!crawl_state.io_inited) - cio_init(); - - // System initialisation stuff. - textbackground(0); #ifdef USE_TILE_LOCAL if (!Options.tile_skip_title && crawl_state.title_screen) { @@ -157,8 +152,6 @@ static void _initialize() } #endif - clrscr(); - #ifdef DEBUG_DIAGNOSTICS if (crawl_state.map_stat_gen) { @@ -167,6 +160,11 @@ static void _initialize() } #endif + if (!crawl_state.io_inited) + cio_init(); + + clrscr(); + if (crawl_state.test) { #if defined(DEBUG_TESTS) && !defined(DEBUG) |