Moved decl.c globals into instance globals.

This commit is contained in:
Bart House
2018-12-22 18:44:22 -08:00
parent 6c0df43a17
commit 74edf42f1c
83 changed files with 818 additions and 824 deletions

View File

@@ -350,7 +350,7 @@ boolean force; /* Quietly force this animal */
}
/* setuwep handles polearms differently when you're mounted */
if (uwep && is_pole(uwep))
unweapon = FALSE;
g.unweapon = FALSE;
u.usteed = mtmp;
remove_monster(mtmp->mx, mtmp->my);
teleds(mtmp->mx, mtmp->my, TRUE);
@@ -683,7 +683,7 @@ int reason; /* Player was thrown off etc. */
context.botl = TRUE;
/* polearms behave differently when not mounted */
if (uwep && is_pole(uwep))
unweapon = TRUE;
g.unweapon = TRUE;
return;
}