version 1.34 | | version 1.35 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.34 2001/04/17 05:26:25 mwedel Exp $"; | | * "$Id: attack.c,v 1.35 2001/04/21 01:16:29 mardahl Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
free_object(op); | | free_object(op); |
} | | } |
if(type&(AT_FIRE|AT_ELECTRICITY)) { | | if(type&(AT_FIRE|AT_ELECTRICITY)) { |
op=get_archetype("burnout"); | | |
if(env) { | | if(env) { |
| | op=get_archetype("burnout"); |
op->x=env->x,op->y=env->y; | | op->x=env->x,op->y=env->y; |
insert_ob_in_ob(op,env); | | insert_ob_in_ob(op,env); |
} else { | | } else { |
op->x=x,op->y=y; | | replace_insert_ob_in_map("burnout",originator); |
insert_ob_in_map(op,m,originator); | | |
} | | } |
} | | } |
return; | | return; |