summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 04:06:15 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 04:06:15 +0000
commit79fa8defdabeb25d5edd3817b851b212e3a65ae7 (patch)
tree523e753eab80acaf39a85f5ce49b0ef90467987a /crawl-ref/source/misc.cc
parent3c944837cadcc17fe541fee23f6c25697694febf (diff)
downloadcrawl-ref-79fa8defdabeb25d5edd3817b851b212e3a65ae7.tar.gz
crawl-ref-79fa8defdabeb25d5edd3817b851b212e3a65ae7.zip
Don't count an attack as unchivalrous if the attacker can't see the defender,
which includes the defender being invisble, being behind opaque clouds, and being behind a wall when hit with an area attack. Before the code was only checking invisibility, which doesn't take into account LOS blocking things like opaque clouds and walls. Don't give a duplicate message when hitting a giant spore or ball lightning. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6239 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
0 files changed, 0 insertions, 0 deletions