Difference for server/player.c from version 1.189 to 1.190


version 1.189 version 1.190
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.189 2006/01/01 13:03:07 akirschbaum Exp $";   *   "$Id: player.c,v 1.190 2006/01/08 23:57:19 qal21 Exp $";
  */   */
   
 /*  /*
Line 1392
 
Line 1392
  if ((query_cost(tmp, op, F_TRUE)*100 / (tmp->weight * MAX(tmp->nrof, 1))) >= wvratio)   if ((query_cost(tmp, op, F_TRUE)*100 / (tmp->weight * MAX(tmp->nrof, 1))) >= wvratio)
  {   {
    pick_up(op, tmp);     pick_up(op, tmp);
    if(0)fprintf(stderr,"HIGH WEIGHT/VALUE [");  #if 0
      fprintf(stderr,"HIGH WEIGHT/VALUE [");
    if(tmp->name!=NULL) {     if(tmp->name!=NULL) {
      if(0)fprintf(stderr,"%s", tmp->name);       fprintf(stderr,"%s", tmp->name);
    }     }
    else if(0)fprintf(stderr,"%s",tmp->arch->name);     else fprintf(stderr,"%s",tmp->arch->name);
    if(0)fprintf(stderr,",%d] = ", tmp->type);     fprintf(stderr,",%d] = ", tmp->type);
    if(0)fprintf(stderr,"%d\n",(int)(query_cost(tmp,op,F_TRUE)*100 / (tmp->weight * MAX(tmp->nrof,1))));     fprintf(stderr,"%d\n",(int)(query_cost(tmp,op,F_TRUE)*100 / (tmp->weight * MAX(tmp->nrof,1))));
   #endif
    continue;     continue;
  }   }
       }        }


Legend:
line(s) removed in v.1.189 
line(s) changed
 line(s) added in v.1.190

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