invent, youmonst, hackdir moved to g.

This commit is contained in:
Bart House
2018-12-24 21:04:15 -08:00
parent 90547edb83
commit 8c1a4d9a97
79 changed files with 1093 additions and 1091 deletions

View File

@@ -656,7 +656,7 @@ which_armor(mon, flag)
struct monst *mon;
long flag;
{
if (mon == &youmonst) {
if (mon == &g.youmonst) {
switch (flag) {
case W_ARM:
return uarm;
@@ -739,7 +739,7 @@ clear_bypasses()
#endif /*0*/
}
}
for (otmp = invent; otmp; otmp = otmp->nobj)
for (otmp = g.invent; otmp; otmp = otmp->nobj)
otmp->bypass = 0;
for (otmp = g.migrating_objs; otmp; otmp = otmp->nobj)
otmp->bypass = 0;