add the remaining distance

Dieser Commit ist enthalten in:
Sven Czarnian
2021-12-16 16:01:05 +01:00
Ursprung 7238d6b92e
Commit ffb944fd6d

Datei anzeigen

@@ -268,6 +268,9 @@ int Inbound::matchToPredictedPath(const EuroScopePlugIn::CFlightPlanPositionPred
lastPosition = coordinate;
}
/* add the last step to the correct position */
trackmiles += lastPosition.distanceTo(position);
return static_cast<int>(idx);
}