add the remaining distance
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user