version 1.24 | | version 1.25 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.24 2000/10/20 19:19:39 peterm Exp $"; | | * "$Id: spell_effect.c,v 1.25 2000/11/06 23:06:47 jec Exp $"; |
*/ | | */ |
| | |
| | |
| | |
if (at) | | if (at) |
for(i=1;i<9;i++) | | for(i=1;i<9;i++) |
fire_arch(op,op,i,at,0,0); | | fire_arch(op,op,i,at,0,0); |
remove_ob(op); | | explode_object(op); |
op->x=env->x; | | |
op->y=env->y; | | |
if(!explode_object(op)) /* Boom 8) */ | | |
LOG(llevError,"Error: bomb refused to go off.\n"); | | |
return; | | |
} | | } |
| | |
| | |
| | |
insert_ob_in_map(op,op->map,op); | | insert_ob_in_map(op,op->map,op); |
return; | | return; |
} | | } |
| | if ((op = insert_ob_in_map (op, op->map, op)) != NULL) |
hit_map(op, 0, op->attacktype); | | hit_map(op, 0, op->attacktype); |
insert_ob_in_map(op,op->map,op); | | |
} | | } |
| | |
void cancellation(object *op) | | void cancellation(object *op) |