version 1.140 | | version 1.141 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.140 2005/10/01 16:36:35 ryo_saeba Exp $"; | | * "$Id: spell_effect.c,v 1.141 2005/10/07 19:38:50 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
for(tmp=get_map_ob(m, sx, sy);tmp!=NULL;tmp=next) { | | for(tmp=get_map_ob(m, sx, sy);tmp!=NULL;tmp=next) { |
next=tmp->above; | | next=tmp->above; |
if(tmp&&QUERY_FLAG(tmp, FLAG_TEAR_DOWN)) | | if(tmp&&QUERY_FLAG(tmp, FLAG_TEAR_DOWN)) |
hit_player(tmp,9998,op,AT_PHYSICAL); | | hit_player(tmp,9998,op,AT_PHYSICAL,0); |
} | | } |
} | | } |
} | | } |
| | |
ny = aura->y + freearr_y[i]; | | ny = aura->y + freearr_y[i]; |
mflags = get_map_flags(env->map, NULL, nx, ny, NULL, NULL); | | mflags = get_map_flags(env->map, NULL, nx, ny, NULL, NULL); |
if ((mflags & (P_WALL | P_OUT_OF_MAP)) == 0) { | | if ((mflags & (P_WALL | P_OUT_OF_MAP)) == 0) { |
hit_map(aura,i,aura->attacktype); | | hit_map(aura,i,aura->attacktype,0); |
if(aura->other_arch) { | | if(aura->other_arch) { |
object *new_ob; | | object *new_ob; |
| | |