version 1.46 | | version 1.47 |
---|
| | |
/* | | /* |
* static char *rcsid_item_c = | | * static char *rcsid_item_c = |
* "$Id: item.c,v 1.46 2004/06/12 19:09:35 akirschbaum Exp $"; | | * "$Id: item.c,v 1.47 2005/04/15 20:56:38 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
strcat(retbuf,"(reflect missiles)"); | | strcat(retbuf,"(reflect missiles)"); |
if(QUERY_FLAG(op,FLAG_STEALTH)) | | if(QUERY_FLAG(op,FLAG_STEALTH)) |
strcat(retbuf,"(stealth)"); | | strcat(retbuf,"(stealth)"); |
if(op->slaying!=NULL) { | | if(op->slaying!=NULL && op->type != FOOD) { |
sprintf(buf,"(slay %s)",op->slaying); | | sprintf(buf,"(slay %s)",op->slaying); |
strcat(retbuf,buf); | | strcat(retbuf,buf); |
} | | } |