summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 82460bd819..2ca6e34dbe 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1764,7 +1764,7 @@ void melee_attack::player_check_weapon_effects()
{
if (spwld == SPWLD_TORMENT && coinflip())
{
- torment(TORMENT_SPWLD, you.x_pos, you.y_pos);
+ torment(TORMENT_SPWLD, you.pos());
did_god_conduct(DID_UNHOLY, 5);
}