summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-04 14:10:46 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-05 05:14:16 +0100
commit0c137b56e7b3ce402b4c188cabb00b1a58042656 (patch)
tree75ab12758438e592008ffaa59ae9f2cccf184233 /crawl-ref/source/abyss.cc
parentb83897c22d27cfda6928ffb9fe824f304a1f3036 (diff)
downloadcrawl-ref-0c137b56e7b3ce402b4c188cabb00b1a58042656.tar.gz
crawl-ref-0c137b56e7b3ce402b4c188cabb00b1a58042656.zip
Squares are rectangles, not circles.
So use the correct iterator. No functional changes.
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-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 f6977b86ff..1f7f9309c4 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -778,7 +778,7 @@ static void _abyss_identify_area_to_shift(coord_def source, int radius,
mask->reset();
set<int> affected_vault_indexes;
- for (radius_iterator ri(source, radius, C_SQUARE); ri; ++ri)
+ for (rectangle_iterator ri(source, radius); ri; ++ri)
{
if (!map_bounds_with_margin(*ri, MAPGEN_BORDER))
continue;