Difference for server/c_misc.c from version 1.64 to 1.65


version 1.64 version 1.65
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_misc_c =   * static char *rcsid_c_misc_c =
  *   "$Id: c_misc.c,v 1.64 2005/08/11 16:44:30 cavesomething Exp $";   *   "$Id: c_misc.c,v 1.65 2005/08/12 08:18:59 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 372
 
Line 372
 }  }
   
 /* Display a line of 'who' to op, about pl, using the formatting specified by format */  /* Display a line of 'who' to op, about pl, using the formatting specified by format */
 void display_who_entry(object *op, player *pl, char *format) {  void display_who_entry(object *op, player *pl, const char *format) {
     char tmpbuf[MAX_BUF];      char tmpbuf[MAX_BUF];
     char outbuf[MAX_BUF];      char outbuf[MAX_BUF];
     sint16 i;      sint16 i;
Line 743
 
Line 743
 #ifndef BUG_LOG  #ifndef BUG_LOG
 #define BUG_LOG "bug_log"  #define BUG_LOG "bug_log"
 #endif  #endif
 void bug_report(char * reportstring){  void bug_report(const char * reportstring){
   FILE * fp;    FILE * fp;
   if((fp = fopen( BUG_LOG , "a")) != NULL){    if((fp = fopen( BUG_LOG , "a")) != NULL){
       fprintf(fp,"%s\n", reportstring);        fprintf(fp,"%s\n", reportstring);
Line 1329
 
Line 1329
 }  }
   
   
 int onoff_value(char *line)  int onoff_value(const char *line)
 {  {
   int i;    int i;
   
Line 1586
 
Line 1586
 int command_kill_pets(object *op, char *params)  int command_kill_pets(object *op, char *params)
 {  {
     objectlink *obl, *next;      objectlink *obl, *next;
     int target, counter=0, removecount=0;      int counter=0, removecount=0;
     if (params == NULL) {       if (params == NULL) {
     terminate_all_pets(op);      terminate_all_pets(op);
  new_draw_info(NDI_UNIQUE, 0, op, "Your pets have been killed.");   new_draw_info(NDI_UNIQUE, 0, op, "Your pets have been killed.");


Legend:
line(s) removed in v.1.64 
line(s) changed
 line(s) added in v.1.65

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