summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index a92006b6ff..519be912fa 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1655,7 +1655,7 @@ bool entomb(int powc)
DNGN_FLOOR_SPECIAL
};
- for ( adjacent_iterator ai; ai; ++ai )
+ for ( adjacent_iterator ai(you.pos()); ai; ++ai )
{
// Tile already occupied by monster
if (monster_at(*ai))