diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-28 03:32:17 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-28 03:32:17 +0000 |
commit | d04224e3fc2b5271620775742cf316da09513f77 (patch) | |
tree | e953c0e48aad75a3e3b8be16e5ceea3e26b5bd3e /crawl-ref/source/describe.cc | |
parent | 56cb1b52027f736f1d3ec32b08efb52552befaf3 (diff) | |
download | crawl-ref-d04224e3fc2b5271620775742cf316da09513f77.tar.gz crawl-ref-d04224e3fc2b5271620775742cf316da09513f77.zip |
Oops, don't automatically set aimed_at_feet, since the caller might be doing
weird stuff with source and target. Make setup_mons_cast() deal with it
for monster spells which the monster aims at itself.
Force range to 0 when source == target.
In mons_cast() assert that targeted spells have an in-bounds target and that
harmful spells are only aimed at the caster when the caster is confused.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8000 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
0 files changed, 0 insertions, 0 deletions