<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);