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.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index eb7c4639e2..63efb19bfa 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -5076,8 +5076,8 @@ static void spotty_level(bool seeded, int iterations, bool boxy)
do
{
- j = random_range(X_BOUND_1 + 1, X_BOUND_2 - 1);
- k = random_range(Y_BOUND_1 + 1, Y_BOUND_2 - 1);
+ j = random_range(X_BOUND_1 + 4, X_BOUND_2 - 4);
+ k = random_range(Y_BOUND_1 + 4, Y_BOUND_2 - 4);
}
while (grd[j][k] != DNGN_ROCK_WALL
&& grd[j + 1][k] != DNGN_ROCK_WALL);
@@ -5112,8 +5112,8 @@ static void spotty_level(bool seeded, int iterations, bool boxy)
{
do
{
- j = random_range(X_BOUND_1 + 1, X_BOUND_2 - 1);
- k = random_range(Y_BOUND_1 + 1, Y_BOUND_2 - 1);
+ j = random_range(X_BOUND_1 + 4, X_BOUND_2 - 4);
+ k = random_range(Y_BOUND_1 + 4, Y_BOUND_2 - 4);
}
while (grd[j][k] == DNGN_ROCK_WALL
&& grd[j - 1][k] == DNGN_ROCK_WALL