wind was obviously specified as the "from" direction

This commit is contained in:
Axel Uhl committed 2012-12-20 02:24:41 +01:00
1 parent 717b2dcf56
commit a88fdd267e
1 file changed
+1 -1
@@ -270,7 +270,7 @@ public class SwissTimingReplayToDomainAdapter extends SwissTimingReplayAdapter {
currentCourseDefinition.set(index, controlPoint);
if (windSpeedInKnots != -1 && trueWindDirectionInDegrees != -1) {
SpeedWithBearing windSpeedWithBearing = new KnotSpeedWithBearingImpl(windSpeedInKnots,
new DegreeBearingImpl(trueWindDirectionInDegrees));
new DegreeBearingImpl(trueWindDirectionInDegrees).reverse());
windAtControlPoint.put(controlPoint, windSpeedWithBearing);
} else {
windAtControlPoint.remove(controlPoint);