version 1.8 | | version 1.9 |
---|
| | |
sprintf(buf,"%s",string); | | sprintf(buf,"%s",string); |
fprintf(logfile,"%-30s(%d) bookchance %3d ",buf,formula->index, | | fprintf(logfile,"%-30s(%d) bookchance %3d ",buf,formula->index, |
formula->chance); | | formula->chance); |
| | fprintf(logfile,"skill %s",formula->skill); |
fprintf(logfile,"\n"); | | fprintf(logfile,"\n"); |
if (formula->ingred !=NULL) { | | if (formula->ingred !=NULL) { |
int nval=0,tval=0; | | int nval=0,tval=0; |
| | |
sprintf (buf, "%s", string); | | sprintf (buf, "%s", string); |
else | | else |
sprintf (buf, "%s of %s", string, formula->title); | | sprintf (buf, "%s of %s", string, formula->title); |
fprintf (logfile, "\n%-40s bookchance %3d\n", | | fprintf (logfile, "\n%-40s bookchance %3d skill %s\n", |
buf, formula->chance); | | buf, formula->chance, formula->skill); |
if (formula->ingred !=NULL) | | if (formula->ingred !=NULL) |
{ | | { |
tcost = 0; | | tcost = 0; |