diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-10-27 21:28:56 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-10-28 00:33:20 +0100 |
commit | 5ae78977690c8023545d5ae33d59543158e56fb5 (patch) | |
tree | 914c24963fac25f88e9e54a57628c6abe9bc2e00 /crawl-ref/source/startup.cc | |
parent | bd1df2a5a71a0d1b9155d1fad17c59c3a63f84ce (diff) | |
download | crawl-ref-5ae78977690c8023545d5ae33d59543158e56fb5.tar.gz crawl-ref-5ae78977690c8023545d5ae33d59543158e56fb5.zip |
Fix a --test crash.
Somehow, it was broken by 0.8.0-a0-33-g1659bee, yet no one runs --test in
optimized builds, mostly because of makefile inadequacies.
Diffstat (limited to 'crawl-ref/source/startup.cc')
-rw-r--r-- | crawl-ref/source/startup.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc index b14caa8410..3a4aa65bae 100644 --- a/crawl-ref/source/startup.cc +++ b/crawl-ref/source/startup.cc @@ -176,6 +176,7 @@ static void _initialize() #ifdef USE_TILE init_player_doll(); #endif + dgn_reset_level(); crawl_state.show_more_prompt = false; run_tests(true); // Superfluous, just to make it clear that this is the end of |