summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-monench.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-02-23 14:58:57 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-02-23 15:09:56 +0100
commitd6fcea90f9bb5e4be51a876e0521eb2142484179 (patch)
treec99e8b65f5f986df66f0b27f8c916d0864b240ca /crawl-ref/source/spl-monench.h
parent3c38b99e2e9d31ec260efeb9a4eef571a3f18286 (diff)
downloadcrawl-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.h2
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();