version 1.38 | | version 1.39 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.38 2002/09/11 06:21:46 mwedel Exp $"; | | * "$Id: c_object.c,v 1.39 2002/11/12 23:20:11 garbled Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
} | | } |
} | | } |
| | |
#ifdef SEARCH_ITEMS | | |
int command_search_items (object *op, char *params) | | int command_search_items (object *op, char *params) |
{ | | { |
char buf[MAX_BUF]; | | char buf[MAX_BUF]; |
| | |
| | if (settings.search_items == FALSE) |
| | return 1; |
| | |
if(params == NULL) { | | if(params == NULL) { |
if(op->contr->search_str[0]=='\0') { | | if(op->contr->search_str[0]=='\0') { |
new_draw_info(NDI_UNIQUE, 0,op,"Example: search magic+1"); | | new_draw_info(NDI_UNIQUE, 0,op,"Example: search magic+1"); |
| | |
fix_player(op); | | fix_player(op); |
return 1; | | return 1; |
} | | } |
#endif /* SEARCH_ITEMS */ | | |