version 1.62 | | version 1.63 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.62 2005/07/16 10:53:10 ryo_saeba Exp $"; | | * "$Id: c_object.c,v 1.63 2005/08/12 08:18:59 ryo_saeba Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* we use item_matched_string above - this gives us consistent behaviour | | * we use item_matched_string above - this gives us consistent behaviour |
* between many commands. Return the best match, or NULL if no match. | | * between many commands. Return the best match, or NULL if no match. |
*/ | | */ |
object *find_best_object_match(object *pl, char *params) | | object *find_best_object_match(object *pl, const char *params) |
{ | | { |
object *tmp, *best=NULL; | | object *tmp, *best=NULL; |
int match_val=0,tmpmatch; | | int match_val=0,tmpmatch; |