|
@@ -149,10 +149,6 @@ void PlugIn::OnRadarTargetPositionUpdate(EuroScopePlugIn::CRadarTarget radarTarg
|
|
if (4 != destination.length())
|
|
if (4 != destination.length())
|
|
return;
|
|
return;
|
|
|
|
|
|
- /* TODO temporary filter */
|
|
|
|
- if ("EDDB" != destination)
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
/* filter by distance to destination */
|
|
/* filter by distance to destination */
|
|
double distanceNM = flightPlan.GetDistanceToDestination();
|
|
double distanceNM = flightPlan.GetDistanceToDestination();
|
|
if (5.0 > distanceNM || 250.0 < distanceNM)
|
|
if (5.0 > distanceNM || 250.0 < distanceNM)
|