diff options
Diffstat (limited to 'crawl-ref/source/coordit.h')
-rw-r--r-- | crawl-ref/source/coordit.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/coordit.h b/crawl-ref/source/coordit.h index ecf57fad53..d4624c9ec7 100644 --- a/crawl-ref/source/coordit.h +++ b/crawl-ref/source/coordit.h @@ -1,8 +1,6 @@ #ifndef COORDIT_H #define COORDIT_H -#include "player.h" - class rectangle_iterator : public std::iterator<std::forward_iterator_tag, coord_def> { @@ -50,7 +48,7 @@ private: class adjacent_iterator : public radius_iterator { public: - explicit adjacent_iterator( const coord_def& pos = you.pos(), + explicit adjacent_iterator( const coord_def& pos, bool _exclude_center = true ) : radius_iterator(pos, 1, true, false, _exclude_center) {} }; |