From b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 25 Jul 2009 14:25:13 +0000 Subject: Apply zebez' patch to differentiate gates some more from stairs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10403 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/hiscores.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/hiscores.cc') diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index ca79a18e72..5207bf3109 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -427,7 +427,8 @@ static const char *kill_method_names[] = "wild_magic", "xom", "statue", "rotting", "targeting", "spore", "tso_smiting", "petrification", "unknown", "something", "falling_down_stairs", "acid", "curare", "melting", "bleeding", - "beogh_smiting", "divine_wrath", "bounce", "reflect", "self_aimed" + "beogh_smiting", "divine_wrath", "bounce", "reflect", "self_aimed", + "falling_through_gate" }; const char *kill_method_name(kill_method_type kmt) @@ -1736,6 +1737,11 @@ std::string scorefile_entry::death_description(death_desc_verbosity verbosity) needs_damage = true; break; + case KILLED_BY_FALLING_THROUGH_GATE: + desc += terse? "fell through a gate" : "Fell down through a gate"; + needs_damage = true; + break; + case KILLED_BY_ACID: desc += terse? "acid" : "Splashed by acid"; needs_damage = true; -- cgit v1.2.3-54-g00ecf