From: cohrs Date: Sat, 17 May 2003 22:03:27 +0000 (+0000) Subject: starvation killer message X-Git-Tag: MOVE2GIT~1983 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=252460c70a1a8224c7c13493b2f20ba79bf3e611;p=nethack starvation killer message Write "died of starvation" on the tombstone, not just "starvation". Suggested by a couple weeks ago, although his suggested prefix was different and didn't work as well for the "exhaustion" case. --- diff --git a/doc/fixes34.2 b/doc/fixes34.2 index a8e4c2d29..b46790a3d 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -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 diff --git a/src/topten.c b/src/topten.c index afbdfd4b2..2cbdcb614 100644 --- a/src/topten.c +++ b/src/topten.c @@ -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 ", "", "", "", "", "" };