--- deliantra/server/server/c_misc.C 2009/11/06 13:03:34 1.78 +++ deliantra/server/server/c_misc.C 2009/11/06 13:31:47 1.79 @@ -267,40 +267,6 @@ return 0; } -/* - * Actual commands. - * Those should be in small separate files (c_object.c, c_wiz.c, cmove.c,...) - */ -static int -onoff_value (const char *line) -{ - int i; - - if (sscanf (line, "%d", &i)) - return (i != 0); - switch (line[0]) - { - case 'o': - switch (line[1]) - { - case 'n': - return 1; /* on */ - default: - return 0; /* o[ff] */ - } - case 'y': /* y[es] */ - case 'k': /* k[ylla] */ - case 's': - case 'd': - return 1; - case 'n': /* n[o] */ - case 'e': /* e[i] */ - case 'u': - default: - return 0; - } -} - int command_title (object *op, char *params) {