version 1.110 | | version 1.111 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.110 2004/05/15 18:15:35 ryo_saeba Exp $"; | | * "$Id: apply.c,v 1.111 2004/08/16 08:47:04 ryo_saeba Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* of maps/players already out there with items that have spells | | * of maps/players already out there with items that have spells |
* which haven't had the randomitems set to null yet. | | * which haven't had the randomitems set to null yet. |
* MSW 2004-05-13 | | * MSW 2004-05-13 |
| | * |
| | * And if it's a spellbook, it's better to set randomitems to NULL too, |
| | * else you get two spells in the book ^_- |
| | * Ryo 2004-08-16 |
*/ | | */ |
if (tmp->type == WAND || tmp->type == ROD || tmp->type == SCROLL || | | if (tmp->type == WAND || tmp->type == ROD || tmp->type == SCROLL || |
tmp->type == HORN || tmp->type == FIREWALL || tmp->type == POTION || | | tmp->type == HORN || tmp->type == FIREWALL || tmp->type == POTION || |
tmp->type == ALTAR) | | tmp->type == ALTAR || tmp->type == SPELLBOOK) |
tmp->randomitems = NULL; | | tmp->randomitems = NULL; |
| | |
} | | } |