summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 10:45:44 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 10:45:44 +0000
commitdf23c385f390c4a7beb7c24826085c35e6145b95 (patch)
tree9697aeb03fb50873a42ef540bdd463be2d2f03f3 /crawl-ref/source/dungeon.cc
parent9e2b79426e02bb326c41c25cc34938a50fd635c8 (diff)
downloadcrawl-ref-df23c385f390c4a7beb7c24826085c35e6145b95.tar.gz
crawl-ref-df23c385f390c4a7beb7c24826085c35e6145b95.zip
Try to place monsters in a wider radius around the chosen square, fixes arena not being able to create large numbers of monsters.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8168 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 73a890d50e..e88dde53da 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4724,7 +4724,7 @@ int dgn_place_monster(mons_spec &mspec,
if (!force_pos && mgrd(place) != NON_MONSTER
&& mg.cls != RANDOM_MONSTER && mg.cls < NUM_MONSTERS)
{
- place = find_newmons_square_contiguous(mg.cls, where, 7);
+ place = find_newmons_square_contiguous(mg.cls, where, 0);
}
mg.pos = place;