artifact.c, cmd.c and makemon.c globals moved to instance_globals.

This commit is contained in:
Bart House
2018-11-23 21:06:53 -08:00
parent cc881d02b1
commit 471224ea70
9 changed files with 314 additions and 303 deletions

View File

@@ -5569,10 +5569,10 @@ char *buf;
"4=on, phone layout, MSDOS compatible",
"-1=off, y & z swapped", /*[5]*/
};
int indx = Cmd.num_pad
? (Cmd.phone_layout ? (Cmd.pcHack_compat ? 4 : 3)
: (Cmd.pcHack_compat ? 2 : 1))
: Cmd.swap_yz ? 5 : 0;
int indx = g.Cmd.num_pad
? (g.Cmd.phone_layout ? (g.Cmd.pcHack_compat ? 4 : 3)
: (g.Cmd.pcHack_compat ? 2 : 1))
: g.Cmd.swap_yz ? 5 : 0;
Strcpy(buf, numpadmodes[indx]);
} else if (!strcmp(optname, "objects")) {