summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.h
diff options
context:
space:
mode:
authorelliptic <hyperelliptical@gmail.com>2013-05-06 00:47:09 -0400
committerelliptic <hyperelliptical@gmail.com>2013-05-06 00:48:51 -0400
commit99d842b8e8f714315e4d495e21e5e34f942839d7 (patch)
tree1d29b9f9f4bf080cc22d3ef65790fc3e3097fcc0 /crawl-ref/source/ouch.h
parent93f8b78a7746755f6b05329cf7f19d768b8f8b6b (diff)
downloadcrawl-ref-99d842b8e8f714315e4d495e21e5e34f942839d7.tar.gz
crawl-ref-99d842b8e8f714315e4d495e21e5e34f942839d7.zip
Try to attribute acid deaths to the monster that caused it (if there was one).
Diffstat (limited to 'crawl-ref/source/ouch.h')
-rw-r--r--crawl-ref/source/ouch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ouch.h b/crawl-ref/source/ouch.h
index 60c586f88e..6e0e7ee98d 100644
--- a/crawl-ref/source/ouch.h
+++ b/crawl-ref/source/ouch.h
@@ -62,8 +62,8 @@ enum kill_method_type
int check_your_resists(int hurted, beam_type flavour, string source,
bolt *beam = 0, bool doEffects = true);
-void splash_with_acid(int acid_strength, bool corrode_items = true,
- string hurt_msg = "");
+void splash_with_acid(int acid_strength, int death_source,
+ bool corrode_items = true, string hurt_msg = "");
class actor;
int actor_to_death_source(const actor* agent);