From a437217f1e4d0c9afa5b61833852297da0c35a8a Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 1 Aug 2009 04:04:41 +0000 Subject: Forward-port 0.5 r10472 to trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10473 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abyss.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/abyss.cc') 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); -- cgit v1.2.3-54-g00ecf