summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-23 13:26:24 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-23 15:04:32 +0100
commit2d3e3d3d42a7d5efcceaad43b06abe2e026d3346 (patch)
tree5c87075caf72991698b880ae5958bb8e37975feb /crawl-ref/source/beam.cc
parentd4d28a2beed3aca3510b39cc8cc55df4852d96ef (diff)
downloadcrawl-ref-2d3e3d3d42a7d5efcceaad43b06abe2e026d3346.tar.gz
crawl-ref-2d3e3d3d42a7d5efcceaad43b06abe2e026d3346.zip
If you die to disintegration, say "blown up" not "killed".
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index e18360be8a..4309d8f4b9 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3432,6 +3432,8 @@ void bolt::internal_ouch(int dam)
ouch(dam, NON_MONSTER, KILLED_BY_TARGETTING);
}
}
+ else if (flavour == BEAM_DISINTEGRATION || flavour == BEAM_NUKE)
+ ouch(dam, beam_source, KILLED_BY_DISINT, aux_source.c_str());
else if (MON_KILL(thrower))
ouch(dam, beam_source, KILLED_BY_BEAM, aux_source.c_str());
else // KILL_MISC || (YOU_KILL && aux_source)