]> granicus.if.org Git - nethack/commitdiff
starvation killer message
authorcohrs <cohrs>
Sat, 17 May 2003 22:03:27 +0000 (22:03 +0000)
committercohrs <cohrs>
Sat, 17 May 2003 22:03:27 +0000 (22:03 +0000)
Write "died of starvation" on the tombstone, not just "starvation".
Suggested by <Someone> a couple weeks ago, although his suggested
prefix was different and didn't work as well for the "exhaustion" case.

doc/fixes34.2
src/topten.c

index a8e4c2d298713c6c1050f690c0f20d5accedd8cb..b46790a3d8428e0b4e863800be86f4557b46564d 100644 (file)
@@ -66,6 +66,7 @@ make killer reason for various poisioning deaths be more consistent
 poison missiles were unintentionally more likely to inflict "deadly poison"
        than in pre-3.4.1 releases
 provide feedback when going invisible after eating a stalker
+killer on tombstone had no prefix for starvation/exhaustion case
 
 
 Platform- and/or Interface-Specific Fixes
index afbdfd4b24d82e9cc76fa23a47a3ac70a9fde58b..2cbdcb6146669f39d2a10adb21e9d634b792059c 100644 (file)
@@ -77,7 +77,7 @@ STATIC_DCL void FDECL(nsb_unmung_line,(char*));
 
 /* must fit with end.c; used in rip.c */
 NEARDATA const char * const killed_by_prefix[] = {
-       "killed by ", "choked on ", "poisoned by ", "", "drowned in ",
+       "killed by ", "choked on ", "poisoned by ", "died of ", "drowned in ",
        "burned by ", "dissolved in ", "crushed to death by ", "petrified by ",
        "turned to slime by ", "killed by ", "", "", "", "", ""
 };