diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-06-07 11:12:35 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-06-07 11:12:35 +0200 |
commit | 1e7bede887eff42b06226340024f309b62766f5d (patch) | |
tree | ab71a7fcdfc92a18779f962a646d8215e306a22b /crawl-ref/source/dbg-maps.cc | |
parent | ed08f8685fec98fb94509d6a05bba582b825c563 (diff) | |
download | crawl-ref-1e7bede887eff42b06226340024f309b62766f5d.tar.gz crawl-ref-1e7bede887eff42b06226340024f309b62766f5d.zip |
Unbreak --mapstat.
Diffstat (limited to 'crawl-ref/source/dbg-maps.cc')
-rw-r--r-- | crawl-ref/source/dbg-maps.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc index 16525611c7..a7fc38bc71 100644 --- a/crawl-ref/source/dbg-maps.cc +++ b/crawl-ref/source/dbg-maps.cc @@ -15,6 +15,7 @@ #include "libutil.h" #include "maps.h" #include "message.h" +#include "ng-init.h" #include "player.h" #include "view.h" @@ -404,6 +405,7 @@ static void _write_mapgen_stats() void generate_map_stats() { + initialise_branch_depths(); // We have to run map preludes ourselves. run_map_global_preludes(); run_map_local_preludes(); |