summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coordit.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/coordit.h')
-rw-r--r--crawl-ref/source/coordit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/coordit.h b/crawl-ref/source/coordit.h
index 1759b396c7..58510a29f7 100644
--- a/crawl-ref/source/coordit.h
+++ b/crawl-ref/source/coordit.h
@@ -83,9 +83,9 @@ private:
class adjacent_iterator : public radius_iterator
{
public:
- explicit adjacent_iterator( const coord_def& pos,
- bool _exclude_center = true ) :
- radius_iterator(pos, 1, true, false, _exclude_center) {}
+ explicit adjacent_iterator(const coord_def& pos,
+ bool _exclude_center = true) :
+ radius_iterator(pos, 1, SH_SQUARE, NULL, _exclude_center) {}
};
#endif