Moved decl.c globals into instance globals.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user