diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 19:08:46 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 19:16:19 +0100 |
commit | def6a88b388cdcf3ac08c2144b9d30f6c8bfb010 (patch) | |
tree | bbd716639a26d78743fdd20b868ce735d3943f63 /crawl-ref/source/spells2.cc | |
parent | 00c306495468af11d3aa59e1b4af7029dafaba7a (diff) | |
download | crawl-ref-def6a88b388cdcf3ac08c2144b9d30f6c8bfb010.tar.gz crawl-ref-def6a88b388cdcf3ac08c2144b9d30f6c8bfb010.zip |
Convert a few read-only uses of actor::position to actor::pos().
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index f35a9e1f49..b0f2f38563 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1728,7 +1728,7 @@ int fungal_bloom() int processed_count = 0; bool kills = false; - for (radius_iterator i(you.position, LOS_RADIUS); i; ++i) + for (radius_iterator i(you.pos(), LOS_RADIUS); i; ++i) { actor *target = actor_at(*i); if (target && (target->atype() == ACT_PLAYER |