From 05c8dfaba3d73566693df38b1e170c803e016842 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 7 Nov 2009 23:13:30 +0100 Subject: Remove player.h dependency from coordit.h. adjacent_iterator had a default center of you.pos(), which is now gone (also the uses of). I was running into circular header dependencies with actor.h including los_def.h including coordit.h including player.h including actor.h. --- crawl-ref/source/godabil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/godabil.cc') diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc index e55d2bb69b..b203cc95a0 100644 --- a/crawl-ref/source/godabil.cc +++ b/crawl-ref/source/godabil.cc @@ -1304,7 +1304,7 @@ void cheibriados_time_bend(int pow) { mpr("The flow of time bends around you."); - for (adjacent_iterator ai; ai; ++ai) + for (adjacent_iterator ai(you.pos()); ai; ++ai) { monsters* mon = monster_at(*ai); if (mon != NULL && !mons_is_stationary(mon)) -- cgit v1.2.3-54-g00ecf