version 1.104 | | version 1.105 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.104 2003/03/21 08:01:09 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.105 2003/09/03 12:25:06 tchize Exp $"; |
*/ | | */ |
| | |
| | |
| | |
if ((op = insert_ob_in_map (op, map, owner,0)) == NULL) | | if ((op = insert_ob_in_map (op, map, owner,0)) == NULL) |
return; | | return; |
| | |
if(op->randomitems != NULL) | | if (HAS_RANDOM_ITEMS(op)) |
/* No GT_APPLY here because we'll do it manually. */ | | /* No GT_APPLY here because we'll do it manually. */ |
create_treasure(op->randomitems,op,GT_INVISIBLE,map->difficulty,0); | | create_treasure(op->randomitems,op,GT_INVISIBLE,map->difficulty,0); |
| | |