version 1.41 | | version 1.42 |
---|
| | |
/* | | /* |
* static char *rcsid_item_c = | | * static char *rcsid_item_c = |
* "$Id: item.c,v 1.41 2004/03/07 10:04:20 akirschbaum Exp $"; | | * "$Id: item.c,v 1.42 2004/04/08 06:48:51 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
SET_FLAG(op,FLAG_KNOWN_CURSED); | | SET_FLAG(op,FLAG_KNOWN_CURSED); |
| | |
if (op->type == POTION) { | | if (op->type == POTION) { |
if (op->inv) { | | if (op->inv && op->randomitems) { |
if (op->title) free_string(op->title); | | if (op->title) free_string(op->title); |
op->title = add_refcount(op->inv->name); | | op->title = add_refcount(op->inv->name); |
} else if (op->arch) { | | } else if (op->arch) { |