summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
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)