version 1.41 | | version 1.42 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.41 2002/07/15 04:25:40 mwedel Exp $"; | | * "$Id: time.c,v 1.42 2002/08/14 04:31:07 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
for(victim=get_map_ob(op->map,op->x,op->y); victim !=NULL; victim=victim->above) { | | for(victim=get_map_ob(op->map,op->x,op->y); victim !=NULL; victim=victim->above) { |
if(QUERY_FLAG(victim, FLAG_ALIVE)&& (!(QUERY_FLAG(victim,FLAG_FLYING))||op->stats.maxhp)) { | | if(QUERY_FLAG(victim, FLAG_ALIVE)&& (!(QUERY_FLAG(victim,FLAG_FLYING))||op->stats.maxhp)) { |
| | |
| | if (victim->head) victim = victim->head; |
| | |
if(QUERY_FLAG(op,FLAG_LIFESAVE)&&op->stats.hp--<0) { | | if(QUERY_FLAG(op,FLAG_LIFESAVE)&&op->stats.hp--<0) { |
remove_ob(op); | | remove_ob(op); |
free_object(op); | | free_object(op); |