More globals moved to instance_globals.

This commit is contained in:
Bart House
2018-12-19 21:26:35 -08:00
parent b7a0e69998
commit 576eece500
65 changed files with 498 additions and 505 deletions

View File

@@ -262,7 +262,7 @@ dowield()
int result;
/* May we attempt this? */
multi = 0;
g.multi = 0;
if (cantwield(youmonst.data)) {
pline("Don't be ridiculous!");
return 0;
@@ -313,7 +313,7 @@ doswapweapon()
int result = 0;
/* May we attempt this? */
multi = 0;
g.multi = 0;
if (cantwield(youmonst.data)) {
pline("Don't be ridiculous!");
return 0;
@@ -361,7 +361,7 @@ dowieldquiver()
/* Since the quiver isn't in your hands, don't check cantwield(), */
/* will_weld(), touch_petrifies(), etc. */
multi = 0;
g.multi = 0;
/* forget last splitobj() before calling getobj() with ALLOW_COUNT */
context.objsplit.child_oid = context.objsplit.parent_oid = 0;