From 64a27c34a406bfe9ae86a91dd8f216d187f3babf Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 13 Nov 2009 22:53:33 +0100 Subject: Fix bug in adjacent_iterator. --- crawl-ref/source/coordit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/coordit.h') diff --git a/crawl-ref/source/coordit.h b/crawl-ref/source/coordit.h index 58510a29f7..6cf3a2a011 100644 --- a/crawl-ref/source/coordit.h +++ b/crawl-ref/source/coordit.h @@ -85,7 +85,7 @@ class adjacent_iterator : public radius_iterator public: explicit adjacent_iterator(const coord_def& pos, bool _exclude_center = true) : - radius_iterator(pos, 1, SH_SQUARE, NULL, _exclude_center) {} + radius_iterator(pos, 1, C_SQUARE, NULL, _exclude_center) {} }; #endif -- cgit v1.2.3-54-g00ecf