Difference for server/player.c from version 1.82 to 1.83


version 1.82 version 1.83
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.82 2002/05/19 03:55:48 mwedel Exp $";   *   "$Id: player.c,v 1.83 2002/06/07 07:00:45 mwedel Exp $";
  */   */
   
 /*  /*
Line 2239
 
Line 2239
      */       */
     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);
     tmp->name=add_string(buf);      FREE_AND_COPY(tmp->name, buf);
       FREE_AND_COPY(tmp->name_pl, buf);
     sprintf(buf,"RIP\nHere rests the hero %s the %s,\n"      sprintf(buf,"RIP\nHere rests the hero %s the %s,\n"
          "who was killed\n"           "who was killed\n"
          "by %s.\n",           "by %s.\n",
Line 2350
 
Line 2351
 #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_AND_COPY(tmp->name, buf);
         free_string (tmp->name);      FREE_AND_COPY(tmp->name_pl, 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)      if (tmp->msg)
Line 2364
 
Line 2365
     /*  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"));
     sprintf(buf,"%s", op->name);      sprintf(buf,"%s", op->name);
     if (tmp->name)      FREE_AND_COPY(tmp->name, buf);
  free_string (tmp->name);      FREE_AND_COPY(tmp->name_pl, buf);
     tmp->name=add_string(buf);  
     tmp->level=op->level;      tmp->level=op->level;
     tmp->x=x;tmp->y=y;      tmp->x=x;tmp->y=y;
     if (tmp->msg)      if (tmp->msg)


Legend:
line(s) removed in v.1.82 
line(s) changed
 line(s) added in v.1.83

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