Difference for server/apply.c from version 1.155 to 1.156


version 1.155 version 1.156
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.155 2006/01/04 21:50:05 akirschbaum Exp $";   *   "$Id: apply.c,v 1.156 2006/01/07 18:56:51 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 212
 
Line 212
  }   }
  depl = present_arch_in_ob(at, op);   depl = present_arch_in_ob(at, op);
  if (depl!=NULL) {   if (depl!=NULL) {
      for (i = 0; i < 7; i++)       for (i = 0; i < NUM_STATS; i++)
  if (get_attr_value(&depl->stats, i)) {   if (get_attr_value(&depl->stats, i)) {
      new_draw_info(NDI_UNIQUE,0,op, restore_msg[i]);       new_draw_info(NDI_UNIQUE,0,op, restore_msg[i]);
  }   }
Line 3718
 
Line 3718
       * tries to randomly reassign the excess stat        * tries to randomly reassign the excess stat
       */        */
      int i,j;       int i,j;
      for(i=0;i<7;i++) {       for(i=0;i<NUM_STATS;i++) {
  sint8 stat=get_attr_value(stats,i);   sint8 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);
  stat += get_attr_value(ns,i);   stat += get_attr_value(ns,i);


Legend:
line(s) removed in v.1.155 
line(s) changed
 line(s) added in v.1.156

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