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.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 1772b2ce0a..46fb3b6c79 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -3365,6 +3365,13 @@ static int vault_grid( vault_placement &place,
break;
}
+ if ((vgrid == '=' || vgrid == '+')
+ && (vx == place.x || vy == place.y || vx == place.x + place.width - 1
+ || vy == place.y + place.height - 1))
+ {
+ targets.push_back( coord_def(vx, vy) );
+ }
+
// then, handle grids that place "stuff" {dlb}:
switch (vgrid) // yes, I know this is a bit ugly ... {dlb}
{