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

@@ -588,7 +588,7 @@ drag:
if (near_capacity() > SLT_ENCUMBER && dist2(x, y, u.ux, u.uy) <= 2) {
You("cannot %sdrag the heavy iron ball.",
invent ? "carry all that and also " : "");
g.invent ? "carry all that and also " : "");
nomul(0);
return FALSE;
}
@@ -777,7 +777,7 @@ xchar x, y;
STATIC_OVL void
litter()
{
struct obj *otmp = invent, *nextobj;
struct obj *otmp = g.invent, *nextobj;
int capacity = weight_cap();
while (otmp) {