version 1.50 | | version 1.51 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.50 2004/10/18 06:54:35 mwedel Exp $"; | | * "$Id: treasure.c,v 1.51 2005/03/06 20:38:52 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (t->next_yes || t->next_no) { | | if (t->next_yes || t->next_no) { |
LOG(llevError,"Treasure %s is one item, but on treasure %s\n", | | LOG(llevError,"Treasure %s is one item, but on treasure %s\n", |
tl->name, t->item ? t->item->name : t->name); | | tl->name, t->item ? t->item->name : t->name); |
LOG(llevError," the next_yes or next_no field is set"); | | LOG(llevError," the next_yes or next_no field is set\n"); |
} | | } |
#endif | | #endif |
tl->total_chance += t->chance; | | tl->total_chance += t->chance; |