From 2d3e3d3d42a7d5efcceaad43b06abe2e026d3346 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Mon, 23 Nov 2009 13:26:24 +0100 Subject: If you die to disintegration, say "blown up" not "killed". --- crawl-ref/source/ouch.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/ouch.cc') 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; -- cgit v1.2.3-54-g00ecf