summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-25 14:25:13 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-25 14:25:13 +0000
commitb4b1187fa18c00dba288189dcc75d3bbb5ebf8a7 (patch)
tree6c011f1512211a03498a4ce5db585d947891700b /crawl-ref/source/hiscores.cc
parent6604f9f6004e6e8d32e988a2e26b490432208095 (diff)
downloadcrawl-ref-b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7.tar.gz
crawl-ref-b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7.zip
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
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc8
1 files changed, 7 insertions, 1 deletions
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;