version 1.38 | | version 1.39 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.38 2006/07/17 03:03:45 qal21 Exp $"; | | * "$Id: spell_attack.c,v 1.39 2006/07/25 22:37:22 ryo_saeba Exp $"; |
*/ | | */ |
| | |
| | |
| | |
object *owner; | | object *owner; |
| | |
owner = get_owner(op); | | owner = get_owner(op); |
if(op->duration == 0 || owner == NULL) { | | if(op->duration == 0 || owner == NULL || owner->x != op->x || owner->y != op->y) { |
remove_ob(op); | | remove_ob(op); |
free_object(op); | | free_object(op); |
return; | | return; |