summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coordit.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 22:53:33 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-13 22:53:33 +0100
commit64a27c34a406bfe9ae86a91dd8f216d187f3babf (patch)
tree39c70d90bd622086d08be17000373ea9df5dfa47 /crawl-ref/source/coordit.h
parent841d476dbd4af397aa4c62d9c910712179c399d7 (diff)
downloadcrawl-ref-64a27c34a406bfe9ae86a91dd8f216d187f3babf.tar.gz
crawl-ref-64a27c34a406bfe9ae86a91dd8f216d187f3babf.zip
Fix bug in adjacent_iterator.
Diffstat (limited to 'crawl-ref/source/coordit.h')
-rw-r--r--crawl-ref/source/coordit.h2
1 files changed, 1 insertions, 1 deletions
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