diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-24 10:38:05 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-24 10:38:05 +0000 |
commit | 111787503763e9d3eeb4eef2248926bf4a4eeb98 (patch) | |
tree | 8af6fcd44ef05ff7cb092dfe3084c13f58e3ba74 /crawl-ref/source/spl-cast.cc | |
parent | a7ba97bc95fa25180bd402a52943f223da2bf04a (diff) | |
download | crawl-ref-111787503763e9d3eeb4eef2248926bf4a4eeb98.tar.gz crawl-ref-111787503763e9d3eeb4eef2248926bf4a4eeb98.zip |
More cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6669 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 3833cbf483..33d31faeb5 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1344,7 +1344,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) break; case SPELL_HOLY_WORD: - holy_word(50, HOLY_WORD_SPELL, you.x_pos, you.y_pos, true); + holy_word(50, HOLY_WORD_SPELL, you.pos(), true); break; case SPELL_REPEL_UNDEAD: @@ -1477,7 +1477,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) break; case SPELL_SYMBOL_OF_TORMENT: - torment(TORMENT_SPELL, you.x_pos, you.y_pos); + torment(TORMENT_SPELL, you.pos()); break; case SPELL_OZOCUBUS_REFRIGERATION: @@ -3043,7 +3043,7 @@ static void _miscast_necromancy(int severity, const char* cause) break; } - torment_monsters(you.x_pos, you.y_pos, 0, TORMENT_GENERIC); + torment_monsters(you.pos(), 0, TORMENT_GENERIC); break; case 1: |