Difference for server/resurrection.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /*  /*
  * 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 $";
  */   */
   
 /*  /*
Line 87
 
Line 87
  /* 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;


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:43