B01001
<Someone> reported this bug (B01001): "Tower of flame" as cause of death _still_ lacks "killed by" prefix.
This commit is contained in:
@@ -347,6 +347,10 @@ int expltype;
|
|||||||
killer_format = NO_KILLER_PREFIX;
|
killer_format = NO_KILLER_PREFIX;
|
||||||
Sprintf(killer_buf, "caught %sself in %s own %s",
|
Sprintf(killer_buf, "caught %sself in %s own %s",
|
||||||
uhim(), uhis(), str);
|
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 {
|
} else {
|
||||||
killer_format = KILLED_BY;
|
killer_format = KILLED_BY;
|
||||||
Strcpy(killer_buf, str);
|
Strcpy(killer_buf, str);
|
||||||
|
|||||||
+1
-1
@@ -78,7 +78,7 @@ STATIC_DCL void FDECL(nsb_unmung_line,(char*));
|
|||||||
/* must fit with end.c; used in rip.c */
|
/* must fit with end.c; used in rip.c */
|
||||||
NEARDATA const char *killed_by_prefix[] = {
|
NEARDATA const char *killed_by_prefix[] = {
|
||||||
"killed by ", "choked on ", "poisoned by ", "", "drowned in ",
|
"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 ", "", "", "", "", ""
|
"turned to slime by ", "killed by ", "", "", "", "", ""
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user