diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-01 11:11:33 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-01 11:11:33 +0000 |
commit | f79f1dcbc304c5bc0736ad2bee5dcbb67bad05f2 (patch) | |
tree | df1f7d1808e34919b8d121deeea83d8788a90a38 /crawl-ref/source/effects.cc | |
parent | 1531585b32d3e58d21307860624881d3d998e38d (diff) | |
download | crawl-ref-f79f1dcbc304c5bc0736ad2bee5dcbb67bad05f2.tar.gz crawl-ref-f79f1dcbc304c5bc0736ad2bee5dcbb67bad05f2.zip |
Make tracer beams call stop_attack_prompt() for foes as well as for
friends, to check for attacking foes while in sanctuary. The way it's
done means that if you or an enemy is in sanctuary and the beam also passes
through an ally then it will prompt you twice, once for the first friend and
once for the first foe, but that shouldn't be too much of a problem.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6287 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
0 files changed, 0 insertions, 0 deletions