summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <scintilla@gmail.com>2013-02-03 17:24:51 -0500
committerDarshan Shaligram <scintilla@gmail.com>2013-02-03 21:56:11 -0500
commitea21e6f68b80c4be47bd11ebed260bb85b29f90a (patch)
tree5fca950852f0bf86b188198c10c7c83b3d9b2570 /crawl-ref/source/maps.cc
parent7af4ce618f40e4bee0bb796d0cad9b5bd07c355e (diff)
downloadcrawl-ref-ea21e6f68b80c4be47bd11ebed260bb85b29f90a.tar.gz
crawl-ref-ea21e6f68b80c4be47bd11ebed260bb85b29f90a.zip
Fix Shoals map connections.
Shoals maps used join-the-dots which produces unnatural corridors. Fixed to postprocess the join-the-dots path and update the heightmap around the path to make it look less artificial.
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index cbf04210ec..a2f6df14cf 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -508,7 +508,7 @@ static coord_def _find_minivault_place(
// [ds] The margin around the edges of the map where the minivault
// won't be placed. Purely arbitrary as far as I can see.
- const int margin = MAPGEN_BORDER * 2;
+ const int margin = MAPGEN_BORDER * 2 + 1;
// Find a target area which can be safely overwritten.
for (int tries = 0; tries < 600; ++tries)