Rev 16727 | Rev 18421 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 16727 | Rev 17885 | ||
|---|---|---|---|
| Line 475... | Line 475... | ||
| 475 | for(exo=0;exo<cd->sheets[sheet].exocnt;exo++,i++) { |
475 | for(exo=0;exo<cd->sheets[sheet].exocnt;exo++,i++) { |
| 476 | /* j <-> i is the correspondance between the numerotation of |
476 | /* j <-> i is the correspondance between the numerotation of |
| 477 | exercises with all versions and with one version */ |
477 | exercises with all versions and with one version */ |
| 478 | j=cd->sheets[sheet].indstart+cd->sheets[sheet].techval*cd->sheets[sheet].exocnt+exo; |
478 | j=cd->sheets[sheet].indstart+cd->sheets[sheet].techval*cd->sheets[sheet].exocnt+exo; |
| 479 | tscore[i].require=cd->exos[j].require; |
479 | tscore[i].require=cd->exos[j].require; |
| - | 480 | if(cd->exos[j].require==0) {tscore[i].weight=0;} |
|
| 480 | tscore[i |
481 | else {tscore[i].weight=cd->exos[j].weight;} |
| 481 | tscore[i].active=cd->exos[j].active; |
482 | tscore[i].active=cd->exos[j].active; |
| 482 | tscore[i].sh=sheet; |
483 | tscore[i].sh=sheet; |
| 483 | tscore[i].exo=exo; |
484 | tscore[i].exo=exo; |
| 484 | score=uscore[i].user; |
485 | score=uscore[i].user; |
| 485 | stry=uscore[i].try; |
486 | stry=uscore[i].try; |