|
|
|
|
@ -111,7 +111,8 @@ public class Event {
|
|
|
|
|
this.raceXML = RaceXMLCreator.alterRaceToWind(this.raceXML, XMLFileType.Contents, -1);
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
this.raceXML = RaceXMLCreator.alterRaceToWind(this.raceXML, XMLFileType.Contents, windAngle, false);
|
|
|
|
|
this.raceXML = Event.setRaceXMLAtCurrentTimeToNow(XMLReader.readXMLFileToString(raceXMLFile, StandardCharsets.UTF_8));
|
|
|
|
|
this.raceXML = RaceXMLCreator.alterRaceToWind(this.raceXML, XMLFileType.Contents, windAngle);
|
|
|
|
|
this.raceXML = RaceXMLCreator.scaleRaceSize(raceXML,
|
|
|
|
|
windSpeed, raceLength);
|
|
|
|
|
}
|
|
|
|
|
|