diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-08 16:52:31 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-08 16:52:31 -0700 |
commit | 67f2127344a7b231b7bc8821816ad1ab915de06f (patch) | |
tree | 8978e0cf9180ee1c4991bfda7448ab62c8a10b15 /crawl-ref/source/hiscores.cc | |
parent | b6eccc4df8071d846aac6b971b07571fa3865281 (diff) | |
download | crawl-ref-67f2127344a7b231b7bc8821816ad1ab915de06f.tar.gz crawl-ref-67f2127344a7b231b7bc8821816ad1ab915de06f.zip |
Credit drowned soul deaths properly.
"Slain by" just doesn't cut it, much like "blown up by" didn't.
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index 513d742614..94020f7e12 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -1159,6 +1159,7 @@ void scorefile_entry::init_death_cause(int dam, int dsrc, if (!invalid_monster_index(death_source) && !env.mons[death_source].alive() && death_type != KILLED_BY_SPORE + && death_type != KILLED_BY_WATER && auxkilldata != "exploding inner flame") { death_source = NON_MONSTER; @@ -2133,6 +2134,7 @@ string scorefile_entry::death_description(death_desc_verbosity verbosity) const { desc += terse? "drowned by " : "Drowned by "; desc += death_source_name; + needs_damage = true; } else desc += terse? "drowned" : "Drowned"; |