do not filter based on distances
This commit is contained in:
1 parent
4da604af99
commit
791c9c2605
1 file changed
-5
@@ -336,11 +336,6 @@ void PlugIn::generateAircraftReportMessage(EuroScopePlugIn::CRadarTarget& radarT
|
|||||||
if (4 != destination.length())
|
if (4 != destination.length())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* filter by distance to destination */
|
|
||||||
const double distanceNM = flightPlan.GetDistanceToDestination();
|
|
||||||
if (5.0 > distanceNM || 250.0 < distanceNM)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* filter by airborne identifier (assume a GS>50kn and a big distance to the origin) */
|
/* filter by airborne identifier (assume a GS>50kn and a big distance to the origin) */
|
||||||
if (50 > radarTarget.GetGS() || 10.0 > flightPlan.GetDistanceFromOrigin())
|
if (50 > radarTarget.GetGS() || 10.0 > flightPlan.GetDistanceFromOrigin())
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user