summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index dacf18fede..b3614b7782 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -106,6 +106,8 @@ static int write_vault(map_def &mdef,
if (!resolve_map(place.map))
continue;
+ // Must set size here, or minivaults will not be placed correctly.
+ place.size = place.map.size();
place.orient = apply_vault_definition(place.map,
place, check_place);