summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/abyss.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index 255f9c0bc0..125787719a 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -803,7 +803,7 @@ static bool _is_crowded_square(const coord_def &c)
static bool _is_sealed_square(const coord_def &c)
{
for (adjacent_iterator ai(c); ai; ++ai)
- if ( !grid_is_opaque(grd(c)) )
+ if ( !grid_is_opaque(grd(*ai)) )
return (false);
return (true);