killer, level and rooms move to instance globals.

This commit is contained in:
Bart House
2018-12-24 19:50:08 -08:00
parent 198e44216e
commit be5cdcf77a
74 changed files with 793 additions and 790 deletions

View File

@@ -310,8 +310,8 @@ boolean thrown_weapon; /* thrown weapons are less deadly */
}
if (u.uhp < 1) {
killer.format = kprefix;
Strcpy(killer.name, pkiller);
g.killer.format = kprefix;
Strcpy(g.killer.name, pkiller);
/* "Poisoned by a poisoned ___" is redundant */
done(strstri(pkiller, "poison") ? DIED : POISONING);
}