version 1.49 | | version 1.50 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.49 2004/05/09 08:03:57 mwedel Exp $"; | | * "$Id: treasure.c,v 1.50 2004/10/18 06:54:35 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
create_treasure(op->randomitems, op,flags ,difficulty, 0); | | create_treasure(op->randomitems, op,flags ,difficulty, 0); |
if (!op->inv) LOG(llevDebug,"fix_generated_item: Unable to generate treasure for %s\n", | | if (!op->inv) LOG(llevDebug,"fix_generated_item: Unable to generate treasure for %s\n", |
op->name); | | op->name); |
| | /* So the treasure doesn't get created again */ |
| | op->randomitems = NULL; |
} | | } |
| | |
if (difficulty<1) difficulty=1; | | if (difficulty<1) difficulty=1; |