diff options
author | xale <code@xale.me> | 2010-06-04 04:01:51 +1100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-06-03 23:17:14 +0200 |
commit | 36824b22df3ffde2747cb5006fcba26fc465d1b0 (patch) | |
tree | a4a56dabba3b603c8a4da3050798ed7d6e7399d6 /crawl-ref/source/ouch.h | |
parent | bb9e897927bc05bdfa700866d3e52b4faef1db36 (diff) | |
download | crawl-ref-36824b22df3ffde2747cb5006fcba26fc465d1b0.tar.gz crawl-ref-36824b22df3ffde2747cb5006fcba26fc465d1b0.zip |
allow to pass death_source_name directly to a scoreboard entry
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/ouch.h')
-rw-r--r-- | crawl-ref/source/ouch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.h b/crawl-ref/source/ouch.h index c9dbe6265e..437450f456 100644 --- a/crawl-ref/source/ouch.h +++ b/crawl-ref/source/ouch.h @@ -66,7 +66,8 @@ class actor; int actor_to_death_source(const actor* agent); void ouch(int dam, int death_source, kill_method_type death_type, - const char *aux = NULL, bool see_source = true); + const char *aux = NULL, bool see_source = true, + const char *death_source_name = NULL); void lose_level(void); bool drain_exp(bool announce_full = true); |