mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-18 18:20:58 +00:00
Merge branch 'master' into bug2729
This commit is contained in:
commit
ce4fabbaf2
28 files changed
+567
-310
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ public class TrackedLegOfCompetitorImpl implements TrackedLegOfCompetitor {
|
||||
final Distance result;
|
||||
final Distance preResult = getDistanceTraveled(timePoint);
|
||||
final Waypoint from = getLeg().getFrom();
|
||||
if (from == getTrackedRace().getRace().getCourse().getFirstWaypoint()) {
|
||||
if (preResult != null && from == getTrackedRace().getRace().getCourse().getFirstWaypoint()) {
|
||||
result = preResult.add(getTrackedRace().getAdditionalGateStartDistance(getCompetitor(), timePoint));
|
||||
} else {
|
||||
result = preResult;
|
||||
|
||||
Reference in new issue
Block a user