version 1.70 | | version 1.71 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.70 2006/09/09 16:07:49 lalo Exp $"; | | * "$Id: treasure.c,v 1.71 2006/09/10 06:44:27 qal21 Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
char tmpbuf[MAX_BUF]; | | char tmpbuf[MAX_BUF]; |
int i; | | int i; |
| | |
if(item->type==FLESH && donor) { | | if(item->type==FLESH && donor && QUERY_FLAG(donor, FLAG_MONSTER)) { |
/* change the name */ | | /* change the name */ |
sprintf(tmpbuf,"%s's %s",donor->name,item->name); | | sprintf(tmpbuf,"%s's %s",donor->name,item->name); |
FREE_AND_COPY(item->name, tmpbuf); | | FREE_AND_COPY(item->name, tmpbuf); |