From 841d476dbd4af397aa4c62d9c910712179c399d7 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 13 Nov 2009 22:34:58 +0100 Subject: Convert adjacent_iterator to new radius_iterator constructor. --- crawl-ref/source/coordit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/coordit.h') 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 -- cgit v1.2.3-54-g00ecf