Hello, the attached patch corrects some typos in the commands 'bowmode' and 'applymode'. The diff is against current CVS. Andreas -------------- next part -------------- Index: server/c_misc.c =================================================================== RCS file: /cvsroot/crossfire/crossfire/server/c_misc.c,v retrieving revision 1.36 diff -c -5 -r1.36 c_misc.c *** server/c_misc.c 13 Sep 2003 05:02:08 -0000 1.36 --- server/c_misc.c 16 Jan 2004 23:45:14 -0000 *************** *** 706,716 **** unapplymode unapply = op->contr->unapply; static char *types[]={"nochoice", "never", "always"}; if (!params) { new_draw_info_format(NDI_UNIQUE, 0, op, "applymode is set to %s", ! types[op->contr->usekeys]); return 1; } if (!strcmp(params,"nochoice")) op->contr->unapply=unapply_nochoice; --- 706,716 ---- unapplymode unapply = op->contr->unapply; static char *types[]={"nochoice", "never", "always"}; if (!params) { new_draw_info_format(NDI_UNIQUE, 0, op, "applymode is set to %s", ! types[op->contr->unapply]); return 1; } if (!strcmp(params,"nochoice")) op->contr->unapply=unapply_nochoice; *************** *** 723,740 **** "applymode: Unknown options %s, valid options are nochoice, never, always", params); return 0; } new_draw_info_format(NDI_UNIQUE, 0, op, "Applymode %s set to %s", ! (unapply==op->contr->usekeys?"":"now"), types[op->contr->unapply]); return 1; } int command_bowmode(object *op, char *params) { ! bowtype_t oldtype=op->contr->petmode; static char *types[] = {"normal", "threewide", "spreadshot", "firenorth", "firene", "fireeast", "firese", "firesouth", "firesw", "firewest", "firenw", "bestarrow"}; char buf[MAX_BUF]; --- 723,740 ---- "applymode: Unknown options %s, valid options are nochoice, never, always", params); return 0; } new_draw_info_format(NDI_UNIQUE, 0, op, "Applymode %s set to %s", ! (unapply==op->contr->unapply?"":" now"), types[op->contr->unapply]); return 1; } int command_bowmode(object *op, char *params) { ! bowtype_t oldtype=op->contr->bowtype; static char *types[] = {"normal", "threewide", "spreadshot", "firenorth", "firene", "fireeast", "firese", "firesouth", "firesw", "firewest", "firenw", "bestarrow"}; char buf[MAX_BUF]; -------------- next part -------------- _______________________________________________ crossfire-devel mailing list crossfire-devel at lists.real-time.com https://mailman.real-time.com/mailman/listinfo/crossfire-devel