<Someone> reported this bug (B01001):
	"Tower of flame" as cause of death _still_ lacks "killed by"
	prefix.
This commit is contained in:
nethack.allison
2002-07-03 00:11:22 +00:00
parent c6ec3e35a7
commit 186a2ccbcf
2 changed files with 5 additions and 1 deletions

View File

@@ -347,6 +347,10 @@ int expltype;
killer_format = NO_KILLER_PREFIX;
Sprintf(killer_buf, "caught %sself in %s own %s",
uhim(), uhis(), str);
} else if (!strncmpi(str,"tower of flame", 8) ||
!strncmpi(str,"fireball", 8)) {
killer_format = KILLED_BY_AN;
Strcpy(killer_buf, str);
} else {
killer_format = KILLED_BY;
Strcpy(killer_buf, str);

View File

@@ -78,7 +78,7 @@ STATIC_DCL void FDECL(nsb_unmung_line,(char*));
/* must fit with end.c; used in rip.c */
NEARDATA const char *killed_by_prefix[] = {
"killed by ", "choked on ", "poisoned by ", "", "drowned in ",
"", "dissolved in ", "crushed to death by ", "petrified by ",
"burned by ", "dissolved in ", "crushed to death by ", "petrified by ",
"turned to slime by ", "killed by ", "", "", "", "", ""
};