summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index ed711ad7a1..368efb48bf 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2047,7 +2047,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
break;
case SPELL_CREATE_NOISE: // Unused, the player can shout to do this. - bwr
- noisy(25, you.x_pos, you.y_pos, "You hear a voice calling your name!");
+ noisy(25, you.pos(), "You hear a voice calling your name!");
break;
case SPELL_PROJECTED_NOISE:
@@ -3753,7 +3753,7 @@ static void _miscast_poison(int severity, const char* cause)
case 1:
msg::stream << "Noxious gasses pour from your "
<< your_hand(true) << "!" << std::endl;
- place_cloud(CLOUD_STINK, you.x_pos, you.y_pos,
+ place_cloud(CLOUD_STINK, you.pos(),
2 + random2(4), (cause ? KC_OTHER : KC_YOU) );
break;
}