Difference for server/main.c from version 1.35 to 1.36


version 1.35 version 1.36
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.35 2001/03/23 20:23:01 mwedel Exp $";   *    "$Id: main.c,v 1.36 2001/03/30 07:52:24 mwedel Exp $";
  */   */
   
 /*  /*
Line 922
 
Line 922
     exit(0);      exit(0);
 }  }
   
 void leave(player *pl) {  void leave(player *pl, int draw_exit) {
     char buf[MAX_BUF];      char buf[MAX_BUF];
   
     if (pl!=NULL) {      if (pl!=NULL) {
Line 943
 
Line 943
  }   }
  pl->ob->type = DEAD_OBJECT; /* To avoid problems with inventory window */   pl->ob->type = DEAD_OBJECT; /* To avoid problems with inventory window */
     }      }
   if (pl!=NULL) new_draw_info(NDI_UNIQUE | NDI_ALL, 5, NULL, buf);    if (pl!=NULL && draw_exit) new_draw_info(NDI_UNIQUE | NDI_ALL, 5, NULL, buf);
 }  }
   
 int forbid_play()  int forbid_play()


Legend:
line(s) removed in v.1.35 
line(s) changed
 line(s) added in v.1.36

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