moves, monstermoves, wailmsg, migrating_objs and billobjs moved to g.

This commit is contained in:
Bart House
2018-12-24 20:22:33 -08:00
parent be5cdcf77a
commit 90547edb83
47 changed files with 224 additions and 228 deletions

View File

@@ -1403,7 +1403,7 @@ int mmflags;
mtmp->mstrategy |= STRAT_APPEARMSG;
}
if (allow_minvent && migrating_objs)
if (allow_minvent && g.migrating_objs)
deliver_obj_to_mon(mtmp, 1, DF_NONE); /* in case of waiting items */
if (!g.in_mklev)
@@ -1487,9 +1487,9 @@ register struct permonst *ptr;
static NEARDATA s_level *lev;
register int alshift;
if (oldmoves != moves) {
if (oldmoves != g.moves) {
lev = Is_special(&u.uz);
oldmoves = moves;
oldmoves = g.moves;
}
switch ((lev) ? lev->flags.align : g.dungeons[u.uz.dnum].flags.align) {
default: /* just in case */