Difference for common/utils.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_utils_c =   * static char *rcsid_utils_c =
  *   "$Id: utils.c,v 1.2 2001/10/01 19:10:27 garbled Exp $";   *   "$Id: utils.c,v 1.3 2001/10/01 19:29:11 garbled Exp $";
  */   */
   
 /*  /*
Line 108
 
Line 108
      ((luck > 0) ? (luck = 1) : (luck = -1));       ((luck > 0) ? (luck = 1) : (luck = -1));
      diff -= luck;       diff -= luck;
      if (diff < 1)       if (diff < 1)
  return(omin); /*check again*/   return(num); /*check again*/
      ((goodbad) ? (min += luck) : (diff));       ((goodbad) ? (min += luck) : (diff));
      total += MAX(1, MIN(size, (RANDOM()%diff)+min));       total += MAX(1, MIN(size, (RANDOM()%diff)+min));
  } else {   } else {


Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3

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