summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-19 18:46:50 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-19 18:46:50 -0700
commitc3f86ab7a98f77cae86dbee67e0c4462254e35ab (patch)
tree9a9dcf4368c84df26f6931c3ecf2f5972ed1d2fa /crawl-ref/source/hiscores.cc
parent0b2097da5790193580245f826caf98cbc6b64620 (diff)
downloadcrawl-ref-c3f86ab7a98f77cae86dbee67e0c4462254e35ab.tar.gz
crawl-ref-c3f86ab7a98f77cae86dbee67e0c4462254e35ab.zip
Correctly credit conjured ball lightning kills (#8007).
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 4dbd88cccc..80d9436b1e 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1158,6 +1158,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
&& auxkilldata != "exploding inner flame")
{
death_source = NON_MONSTER;