Difference for server/apply.c from version 1.47 to 1.48


version 1.47 version 1.48
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.47 2001/10/14 07:57:14 gros Exp $";   *   "$Id: apply.c,v 1.48 2001/10/15 21:12:08 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 3029
 
Line 3029
      }       }
   
      for(j=0;excess_stat >0 && j<100;j++)  {/* try 100 times to assign excess stats */       for(j=0;excess_stat >0 && j<100;j++)  {/* try 100 times to assign excess stats */
  int i = RANDOM() %7;   int i = rndm(0, 6);
  int stat=get_attr_value(stats,i);   int stat=get_attr_value(stats,i);
  int race_bonus = get_attr_value(&(pl->arch->clone.stats),i);   int race_bonus = get_attr_value(&(pl->arch->clone.stats),i);
  if(i==CHA) continue;  /* exclude cha from this */   if(i==CHA) continue;  /* exclude cha from this */


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

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