Another round of instance globals changes.

This commit is contained in:
Bart House
2018-12-24 16:43:50 -08:00
parent e5e906dc3b
commit 572ee347b9
78 changed files with 946 additions and 975 deletions

View File

@@ -148,8 +148,8 @@ register struct monst *mtmp;
}
/* mtmp can be killed */
bhitpos.x = mon->mx;
bhitpos.y = mon->my;
g.bhitpos.x = mon->mx;
g.bhitpos.y = mon->my;
g.notonhead = 0;
result = mattackm(mtmp, mon);
@@ -871,7 +871,7 @@ register struct attack *mattk;
*/
num = monsndx(pd);
if (magr->mtame && !magr->isminion
&& !(mvitals[num].mvflags & G_NOCORPSE)) {
&& !(g.mvitals[num].mvflags & G_NOCORPSE)) {
struct obj *virtualcorpse = mksobj(CORPSE, FALSE, FALSE);
int nutrit;