Perform correct Rogaine test; Include Score/Gross/Penalty points
This commit is contained in:
parent
11a015b7e5
commit
68721b1833
@ -3591,10 +3591,11 @@ void IOF30Interface::writeResult(xmlparser &xml, const oRunner &rPerson, const o
|
||||
|
||||
xml.write("Status", formatStatus(status, r.getFinishTime()>0));
|
||||
|
||||
int rg = r.getRogainingPoints(true, false);
|
||||
if (rg > 0) {
|
||||
xml.write("Score", "type", L"Score", itow(rg));
|
||||
// Is it a Rogaine class?
|
||||
if (r.getClassRef(false)->isRogaining()) {
|
||||
xml.write("Score", "type", L"Score", itow(r.getRogainingPoints(true, false)));
|
||||
xml.write("Score", "type", L"Penalty", itow(r.getRogainingReduction(true)));
|
||||
xml.write("Score", "type", L"Gross", itow(r.getRogainingPointsGross(true)));
|
||||
}
|
||||
if ( (r.getTeam() && r.getClassRef(false)->getClassType() != oClassPatrol && !teamsAsIndividual && !qualFinal) || hasInputTime) {
|
||||
xml.startTag("OverallResult");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user