diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-04-11 08:29:44 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-05-25 20:27:48 -0700 |
commit | 6f959b73ab6b07a742e45870b540a2038e405253 (patch) | |
tree | f2145783a10e15c457d8a9031eacdaee6991eed4 /crawl-ref/source/hiscores.cc | |
parent | f6d44216f86f13f3ce9a7e7ee174ecb80f4248e5 (diff) | |
download | crawl-ref-6f959b73ab6b07a742e45870b540a2038e405253.tar.gz crawl-ref-6f959b73ab6b07a742e45870b540a2038e405253.zip |
Add the Majin-Bo, a new fixedart that offers power at
a terrible price. (It's not that terrible!)
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index 85dfde43f7..ca890c2237 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -1902,6 +1902,12 @@ static bool _species_is_undead(int sp) return sp == SP_MUMMY || sp == SP_GHOUL || sp == SP_VAMPIRE; } +/** + * Describes the cause of the player's death. + * + * @param verbosity The verbosity of the description. + * @return A description of the cause of death. + */ string scorefile_entry::death_description(death_desc_verbosity verbosity) const { bool needs_beam_cause_line = false; @@ -2430,6 +2436,7 @@ string scorefile_entry::death_description(death_desc_verbosity verbosity) const needs_damage = true; break; + default: desc += terse? "program bug" : "Nibbled to death by software bugs"; break; |