From cb57dfea1ea5e58d45f8f1d4378369bdaf975fe5 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 20 Sep 2009 19:50:18 +0000 Subject: * Fix wizmode autoexplore (used for debugging) not nuking traps, as it claimed to do. * Fix post-berserk exhaustion not cancelling haste if not wearing the "RS. * Update change log. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10752 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/dungeon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/dungeon.cc') diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index e43b1633d7..f4a2b62621 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -7308,7 +7308,7 @@ static void _chequerboard( spec_room &sr, dungeon_feature_type target, if (sr.br.x < sr.tl.x || sr.br.y < sr.tl.y) return; - for ( rectangle_iterator ri(sr.tl, sr.br); ri; ++ri ) + for (rectangle_iterator ri(sr.tl, sr.br); ri; ++ri) if (grd(*ri) == target) grd(*ri) = ((ri->x + ri->y) % 2) ? floor2 : floor1; } -- cgit v1.2.3-54-g00ecf