diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-02-23 14:58:57 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-02-23 15:09:56 +0100 |
commit | d6fcea90f9bb5e4be51a876e0521eb2142484179 (patch) | |
tree | c99e8b65f5f986df66f0b27f8c916d0864b240ca /crawl-ref/source/spl-monench.h | |
parent | 3c38b99e2e9d31ec260efeb9a4eef571a3f18286 (diff) | |
download | crawl-ref-d6fcea90f9bb5e4be51a876e0521eb2142484179.tar.gz crawl-ref-d6fcea90f9bb5e4be51a876e0521eb2142484179.zip |
Track the source of monster enchantments.
This fixes Injury Mirror not working for delayed damage, kills done
by undead/demon allies not counting as such, damage tracking not handling
ench damage, etc.
Diffstat (limited to 'crawl-ref/source/spl-monench.h')
-rw-r--r-- | crawl-ref/source/spl-monench.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-monench.h b/crawl-ref/source/spl-monench.h index d1632f146a..2a27e36b2d 100644 --- a/crawl-ref/source/spl-monench.h +++ b/crawl-ref/source/spl-monench.h @@ -6,7 +6,7 @@ void cast_tame_beasts(int pow); bool backlight_monsters(coord_def where, int pow, int garbage); //returns true if it slowed the monster -bool do_slow_monster(monster* mon, kill_category whose_kill); +bool do_slow_monster(monster* mon, const actor *agent); bool project_noise(); |