summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coordit.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 22:34:58 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-13 22:51:35 +0100
commit841d476dbd4af397aa4c62d9c910712179c399d7 (patch)
treef15ef405e5a87a7dd59bf79a54204239ea21c96b /crawl-ref/source/coordit.h
parenteecba1f24c550b8cc3a25831e77aa744622e31c4 (diff)
downloadcrawl-ref-841d476dbd4af397aa4c62d9c910712179c399d7.tar.gz
crawl-ref-841d476dbd4af397aa4c62d9c910712179c399d7.zip
Convert adjacent_iterator to new radius_iterator constructor.
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