extern int msl_launch_mindam(struct emp_qelem *, coord, coord, int,
int, int, s_char *, int, int);
/* mtch.c */
-extern int comtch(register s_char *, struct cmndstr *, int, int);
+extern int comtch(register s_char *, struct cmndstr *, int);
/* natarg.c */
extern int natarg(s_char *, s_char *);
/* neigh.c */
struct cmndstr *command;
int cmd;
- cmd = comtch(player->argp[0], player_coms,
- player->ncomstat, player->god);
+ cmd = comtch(player->argp[0], player_coms, player->ncomstat);
if (cmd < 0) {
if (cmd == M_NOTUNIQUE)
pr("Command \"%s\" is ambiguous -- ", player->argp[0]);
continue;
}
ac = parse(buf, player->argp, NULL, space, NULL);
- cmd = comtch(player->argp[0], login_coms, 0, 0);
+ cmd = comtch(player->argp[0], login_coms, 0);
if (cmd < 0) {
pr_id(player, C_BADCMD, "Command %s not found\n", player->argp[0]);
continue;
* Ignore commands that require more permissions than COMSTAT.
*/
int
-comtch(register s_char *command, struct cmndstr *coms, int comstat,
- int god)
+comtch(register s_char *command, struct cmndstr *coms, int comstat)
{
register struct cmndstr *com;
register int status;
return M_IGNORE;
status = M_NOTFOUND;
for (com = coms; com->c_form != 0; com++) {
- if ((com->c_permit & comstat) != com->c_permit && !god)
+ if ((com->c_permit & comstat) != com->c_permit)
continue;
switch (mineq(command, com->c_form)) {
case ME_MISMATCH: