… | |
… | |
412 | update_object (op, UP_OBJ_FACE); |
412 | update_object (op, UP_OBJ_FACE); |
413 | |
413 | |
414 | /* Only search the active objects - only these should actually do |
414 | /* Only search the active objects - only these should actually do |
415 | * harm to the player. |
415 | * harm to the player. |
416 | */ |
416 | */ |
417 | for (tmp = active_objects; tmp != NULL; tmp = tmp->active_next) |
417 | for_all_actives (tmp) |
418 | if (tmp->enemy == op) |
418 | if (tmp->enemy == op) |
419 | tmp->enemy = NULL; |
419 | tmp->enemy = 0; |
|
|
420 | |
420 | return 1; |
421 | return 1; |
421 | } |
422 | } |
422 | |
423 | |
423 | /* earth to dust spell. Basically destroys earthwalls in the area. |
424 | /* earth to dust spell. Basically destroys earthwalls in the area. |
424 | */ |
425 | */ |