version 1.58 | | version 1.59 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.58 2005/08/12 13:46:34 ryo_saeba Exp $"; | | * "$Id: treasure.c,v 1.59 2005/09/04 16:58:12 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevError,"Warning, table for difficulty %d bad.\n",difficulty); | | LOG(llevError,"Warning, table for difficulty %d bad.\n",difficulty); |
loop=0; | | loop=0; |
} | | } |
/* printf("Chose magic %d for difficulty %d\n",loop,difficulty);*/ | | /* LOG(llevDebug, "Chose magic %d for difficulty %d\n", loop, difficulty);*/ |
return (RANDOM()%3)?loop:-loop; | | return (RANDOM()%3)?loop:-loop; |
} | | } |
| | |