version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.28 2001/08/29 07:14:16 mwedel Exp $"; | | * "$Id: c_object.c,v 1.29 2001/09/03 06:44:55 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
set_pickup_mode(op, (op->contr->mode > 6)? 0: op->contr->mode+1); | | set_pickup_mode(op, (op->contr->mode > 6)? 0: op->contr->mode+1); |
return 0; | | return 0; |
} | | } |
if(params==NULL || !sscanf(params, "%d", &i) || i<0 ) { | | if(params==NULL || !sscanf(params, "%ud", &i) || i<0 ) { |
if(1)fprintf(stderr,"command_pickup: params==NULL\n"); | | if(1)fprintf(stderr,"command_pickup: params==NULL\n"); |
new_draw_info(NDI_UNIQUE, 0,op,"Usage: pickup <0-7> or <value_density> ."); | | new_draw_info(NDI_UNIQUE, 0,op,"Usage: pickup <0-7> or <value_density> ."); |
return 1; | | return 1; |