version 1.17, 2003/06/25 18:30:27
|
version 1.18, 2003/06/25 18:46:09
|
Line 142 HEADER
|
Line 142 HEADER
|
|
|
for my $part (@{$parts}) { |
for my $part (@{$parts}) { |
if ($showPoints) { |
if ($showPoints) { |
my $score = $curRes->weight() * $curRes->awarded(); |
my $score = $curRes->weight($part) * $curRes->awarded($part); |
$partsRight += $score; |
$partsRight += $score; |
$totalRight += $score; |
$totalRight += $score; |
$partsCount += $curRes->weight(); |
$partsCount += $curRes->weight(); |
|
|
if ($curRes->opendate($part) < $now) { |
if ($curRes->opendate($part) < $now) { |
$totalPossible += $curRes->weight(); |
$totalPossible += $curRes->weight(); |
} |
} |