version 1.4 | | version 1.5 |
---|
| | |
/* | | /* |
* static char *rcsid_resurrection_c = | | * static char *rcsid_resurrection_c = |
* "$Id: resurrection.c,v 1.4 2000/07/20 03:56:28 peterm Exp $"; | | * "$Id: resurrection.c,v 1.5 2000/12/04 00:40:05 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* If no object, temp will be set to NULL */ | | /* If no object, temp will be set to NULL */ |
for(temp=get_map_ob(op->map,op->x+freearr_x[dir],op->y+freearr_y[dir]); | | for(temp=get_map_ob(op->map,op->x+freearr_x[dir],op->y+freearr_y[dir]); |
temp!=NULL; temp=temp->above) | | temp!=NULL; temp=temp->above) |
/* really need a better way to spot corpseobjects | | /* Remove checks for immunity - bit of a hack. Anyways, only |
* corpses immune to everything, so that they cannot be destroyed. | | * the CORPSE type is being used corpses for players, so |
| | * this check should be sufficient. If we really want |
| | * to be sure, we could probably check the archetype or something. |
*/ | | */ |
if(temp->type == CORPSE && temp->immune==262143) | | if(temp->type == CORPSE) |
break; | | break; |
} | | } |
} else temp = corpseobj; | | } else temp = corpseobj; |