diff options
-rw-r--r-- | crawl-ref/source/abyss.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/spells2.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index 2de00503a3..398c5b8ff5 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -412,7 +412,7 @@ void area_shift(void) { #ifdef DEBUG_ABYSS mprf(MSGCH_DIAGNOSTICS, "area_shift() - player at pos (%d, %d)", - you.position.x, you.position.y); + you.pos().x, you.pos().y); #endif // Preserve floor props around the player, primarily so that 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 |