diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-17 21:31:00 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-17 21:31:00 +0000 |
commit | 4f05401c6bbdaff1e58980cb5f3e04ab56507591 (patch) | |
tree | 193a6d7cc73a1904946a203c5efca71dbd24dc59 /crawl-ref/source/spells3.cc | |
parent | 95716559666858b80f3c7c346bcc93933ae82b6a (diff) | |
download | crawl-ref-4f05401c6bbdaff1e58980cb5f3e04ab56507591.tar.gz crawl-ref-4f05401c6bbdaff1e58980cb5f3e04ab56507591.zip |
Backport r10255 to 0.5.
Also update change log.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10256 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index b4a4ed0dd4..0367b886b8 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -199,7 +199,7 @@ bool cast_smiting(int power, const coord_def& where) god_conduct_trigger conducts[3]; disable_attack_conducts(conducts); - const bool success = !stop_attack_prompt(m, false, false); + const bool success = !stop_attack_prompt(m, false, you.pos()); if (success) { @@ -240,7 +240,7 @@ int airstrike(int power, dist &beam) god_conduct_trigger conducts[3]; disable_attack_conducts(conducts); - success = !stop_attack_prompt(monster, false, false); + success = !stop_attack_prompt(monster, false, you.pos()); if (success) { |