Difference for server/player.c from version 1.17 to 1.18


version 1.17 version 1.18
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.17 2000/10/16 19:19:31 peterm Exp $";   *   "$Id: player.c,v 1.18 2000/10/30 22:09:59 jec Exp $";
  */   */
   
 /*  /*
Line 1782
 
Line 1782
          op->contr->killer);           op->contr->killer);
     tmp->msg = add_string(buf);      tmp->msg = add_string(buf);
     tmp->x=op->x,tmp->y=op->y;      tmp->x=op->x,tmp->y=op->y;
     insert_ob_in_map(tmp,op->map,op);      insert_ob_in_map (tmp, op->map, NULL);
   
  /**************************************/   /**************************************/
  /*                                    */   /*                                    */
Line 1890
 
Line 1890
 #ifdef NOT_PERMADEATH  #ifdef NOT_PERMADEATH
     tmp=arch_to_object(find_archetype("gravestone"));      tmp=arch_to_object(find_archetype("gravestone"));
     sprintf(buf,"%s's gravestone",op->name);      sprintf(buf,"%s's gravestone",op->name);
       if (tmp->name)
           free_string (tmp->name);
     tmp->name=add_string(buf);      tmp->name=add_string(buf);
     sprintf(buf,"RIP\nHere rests the hero %s the %s,\nwho was killed by %s.\n",      sprintf(buf,"RIP\nHere rests the hero %s the %s,\nwho was killed by %s.\n",
      op->name, op->contr->title, op->contr->killer);       op->name, op->contr->title, op->contr->killer);
       if (tmp->msg)
           free_string (tmp->msg);
     tmp->msg = add_string(buf);      tmp->msg = add_string(buf);
     tmp->x=x,tmp->y=y;      tmp->x=x,tmp->y=y;
     insert_ob_in_map(tmp,map,op);      insert_ob_in_map (tmp, map, NULL);
 #else  #else
     /*  peterm:  added to create a corpse at deathsite.  */      /*  peterm:  added to create a corpse at deathsite.  */
     tmp=arch_to_object(find_archetype("corpse_pl"));      tmp=arch_to_object(find_archetype("corpse_pl"));
Line 1907
 
Line 1911
     tmp->x=x;tmp->y=y;      tmp->x=x;tmp->y=y;
     if (tmp->msg)      if (tmp->msg)
  free_string(tmp->msg);   free_string(tmp->msg);
     tmp->msg = gravestone_text(op);      tmp->msg = add_string (gravestone_text(op));
     SET_FLAG (tmp, FLAG_UNIQUE);      SET_FLAG (tmp, FLAG_UNIQUE);
     insert_ob_in_map(tmp,map,op);      insert_ob_in_map (tmp, map, NULL);
 #endif  #endif
 }  }
   


Legend:
line(s) removed in v.1.17 
line(s) changed
 line(s) added in v.1.18

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