summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.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/ouch.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/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index b9416a97a7..da61e3fc34 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -786,8 +786,15 @@ static void _xom_checks_damage(kill_method_type death_type,
xom_is_stimulated(255);
return;
}
+ else if (death_type == KILLED_BY_DISINT)
+ {
+ // flying chunks...
+ xom_is_stimulated(128);
+ return;
+ }
else if (death_type != KILLED_BY_MONSTER
&& death_type != KILLED_BY_BEAM
+ && death_type != KILLED_BY_DISINT
|| invalid_monster_index(death_source))
{
return;