version 1.99 | | version 1.100 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.99 2002/11/12 23:09:11 garbled Exp $"; | | * "$Id: player.c,v 1.100 2002/11/12 23:20:11 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if ( ! can_pick (op, tmp)) | | if ( ! can_pick (op, tmp)) |
continue; | | continue; |
| | |
#ifdef SEARCH_ITEMS | | if (op->contr->search_str[0]!='\0' && settings.search_items == TRUE) |
if (op->contr->search_str[0]!='\0') | | |
{ | | { |
if (item_matched_string (op, tmp, op->contr->search_str)) | | if (item_matched_string (op, tmp, op->contr->search_str)) |
pick_up (op, tmp); | | pick_up (op, tmp); |
continue; | | continue; |
} | | } |
#endif /* SEARCH_ITEMS */ | | |
| | |
/* high bit set? We're using the new autopickup model */ | | /* high bit set? We're using the new autopickup model */ |
if(!(op->contr->mode & PU_NEWMODE)) | | if(!(op->contr->mode & PU_NEWMODE)) |