version 1.36 | | version 1.37 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.36 2003/09/13 05:02:08 mwedel Exp $"; | | * "$Id: c_misc.c,v 1.37 2004/01/20 05:45:32 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
if (!params) { | | if (!params) { |
new_draw_info_format(NDI_UNIQUE, 0, op, "applymode is set to %s", | | new_draw_info_format(NDI_UNIQUE, 0, op, "applymode is set to %s", |
types[op->contr->usekeys]); | | types[op->contr->unapply]); |
return 1; | | return 1; |
} | | } |
| | |
| | |
return 0; | | return 0; |
} | | } |
new_draw_info_format(NDI_UNIQUE, 0, op, "Applymode %s set to %s", | | new_draw_info_format(NDI_UNIQUE, 0, op, "Applymode %s set to %s", |
(unapply==op->contr->usekeys?"":"now"), | | (unapply==op->contr->unapply?"":" now"), |
types[op->contr->unapply]); | | types[op->contr->unapply]); |
return 1; | | return 1; |
} | | } |
| | |
int command_bowmode(object *op, char *params) | | int command_bowmode(object *op, char *params) |
{ | | { |
bowtype_t oldtype=op->contr->petmode; | | bowtype_t oldtype=op->contr->bowtype; |
static char *types[] = | | static char *types[] = |
{"normal", "threewide", "spreadshot", "firenorth", | | {"normal", "threewide", "spreadshot", "firenorth", |
"firene", "fireeast", "firese", "firesouth", | | "firene", "fireeast", "firese", "firesouth", |