diff options
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r-- | crawl-ref/source/abyss.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index b5eaa2ecbb..9c51074f42 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -683,7 +683,7 @@ static bool _spawn_corrupted_servant_near(const coord_def &pos) { const coord_def p( pos.x + random2avg(4, 3) + random2(3), pos.y + random2avg(4, 3) + random2(3) ); - if (!in_bounds(p) || p == you.pos() || mgrd(p) != NON_MONSTER + if (!in_bounds(p) || actor_at(p) || !grid_compatible(DNGN_FLOOR, grd(p))) { continue; |