Difference for server/player.c from version 1.98 to 1.99


version 1.98 version 1.99
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.98 2002/11/12 22:34:26 garbled Exp $";   *   "$Id: player.c,v 1.99 2002/11/12 23:09:11 garbled Exp $";
  */   */
   
 /*  /*
Line 976
 
Line 976
     strcpy(op->contr->killer,"quit");      strcpy(op->contr->killer,"quit");
     check_score(op);      check_score(op);
     op->contr->party_number=(-1);      op->contr->party_number=(-1);
 #ifdef SET_TITLE      if (settings.set_title == TRUE)
     op->contr->own_title[0]='\0';      op->contr->own_title[0]='\0';
 #endif /* SET_TITLE */  
     if(!QUERY_FLAG(op,FLAG_WAS_WIZ)) {      if(!QUERY_FLAG(op,FLAG_WAS_WIZ)) {
       sprintf(buf,"%s/%s/%s/%s.pl",settings.localdir,settings.playerdir,op->name,op->name);        sprintf(buf,"%s/%s/%s/%s.pl",settings.localdir,settings.playerdir,op->name,op->name);
       if(unlink(buf)== -1 && settings.debug >= llevDebug)        if(unlink(buf)== -1 && settings.debug >= llevDebug)
Line 2441
 
Line 2440
  */   */
   
     op->contr->party_number=(-1);      op->contr->party_number=(-1);
 #ifdef SET_TITLE      if (settings.set_title == TRUE)
     op->contr->own_title[0]='\0';      op->contr->own_title[0]='\0';
 #endif /* SET_TITLE */  
     new_draw_info(NDI_UNIQUE|NDI_ALL, 0,NULL, buf);      new_draw_info(NDI_UNIQUE|NDI_ALL, 0,NULL, buf);
     check_score(op);      check_score(op);
     if(op->contr->golem!=NULL) {      if(op->contr->golem!=NULL) {
Line 2457
 
Line 2455
     op->direction=0;      op->direction=0;
     if(!QUERY_FLAG(op,FLAG_WAS_WIZ)&&op->stats.exp) {      if(!QUERY_FLAG(op,FLAG_WAS_WIZ)&&op->stats.exp) {
       delete_character(op->name,0);        delete_character(op->name,0);
       if (settings.not_permadeth == FALSE) {        if (settings.not_permadeth == FALSE && settings.resurrection == TRUE) {
 #ifdef RESURRECTION  
  /* save playerfile sans equipment when player dies   /* save playerfile sans equipment when player dies
  ** then save it as player.pl.dead so that future resurrection   ** then save it as player.pl.dead so that future resurrection
  ** type spells will work on them nicely   ** type spells will work on them nicely
Line 2477
 
Line 2474
  op->map = map;   op->map = map;
  /* please see resurrection.c: peterm */   /* please see resurrection.c: peterm */
  dead_player(op);   dead_player(op);
 #endif     }
       }        }
     }      }
     play_again(op);      play_again(op);


Legend:
line(s) removed in v.1.98 
line(s) changed
 line(s) added in v.1.99

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