summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index b7229487e3..bef7c19ec7 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -2665,6 +2665,11 @@ static bool build_minivaults(int level_number, int force_vault)
vault_zones.push_back(
dgn_region(place.x, place.y, place.width, place.height));
+#ifdef DEBUG_DIAGNOSTICS
+ if (crawl_state.map_stat_gen)
+ mapgen_report_map_use(place.map);
+#endif
+
apply_place_masks(place);
// these two are throwaways:
@@ -3087,6 +3092,11 @@ static bool build_vaults(int level_number, int force_vault, int rune_subst,
vault_zones.push_back(
dgn_region(place.x, place.y, place.width, place.height));
+#ifdef DEBUG_DIAGNOSTICS
+ if (crawl_state.map_stat_gen)
+ mapgen_report_map_use(place.map);
+#endif
+
// If the map takes the whole screen or we were only requested to
// build, our work is done.
if (gluggy == MAP_ENCOMPASS || build_only)