Difference for server/init.c from version 1.46 to 1.47


version 1.46 version 1.47
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.46 2003/02/09 07:30:49 garbled Exp $";   *   "$Id: init.c,v 1.47 2003/02/14 05:57:57 garbled Exp $";
  */   */
   
 /*  /*
Line 269
 
Line 269
  }   }
  if ((next=strchr(cp,',')) != NULL)   if ((next=strchr(cp,',')) != NULL)
      *(next++) = '\0';       *(next++) = '\0';
  sscanf(cp, "%hd", &mt->save[i]);   sscanf(cp, "%d", &value);
    mt->save[i] = (sint8)value;
  cp = next;   cp = next;
      }       }
  } else if (!strncmp(cp, "mods", 4)) {   } else if (!strncmp(cp, "mods", 4)) {
Line 281
 
Line 282
      }       }
      if ((next=strchr(cp,',')) != NULL)       if ((next=strchr(cp,',')) != NULL)
  *(next++) = '\0';   *(next++) = '\0';
      sscanf(cp, "%hd", &mt->mod[i]);       sscanf(cp, "%d", &value);
        mt->mod[i] = (sint8)value;
      cp = next;       cp = next;
  }   }
  } else if (sscanf(cp, "chance %d\n", &value)) {   } else if (sscanf(cp, "chance %d\n", &value)) {


Legend:
line(s) removed in v.1.46 
line(s) changed
 line(s) added in v.1.47

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