zeroX, tc_gbl_data and fqn_prefix moved to instance globals.

This commit is contained in:
Bart House
2018-12-25 08:09:37 -08:00
parent 1c65e6afe0
commit 0763046c38
40 changed files with 266 additions and 261 deletions

View File

@@ -112,7 +112,7 @@ struct obj *otmp;
if (!OMONST(otmp)) {
struct monst *m = newmonst();
*m = zeromonst;
*m = g.zeromonst;
OMONST(otmp) = m;
}
}
@@ -760,7 +760,7 @@ boolean artif;
char let = objects[otyp].oc_class;
otmp = newobj();
*otmp = zeroobj;
*otmp = g.zeroobj;
otmp->age = g.monstermoves;
otmp->o_id = g.context.ident++;
if (!otmp->o_id)