From 6bd7967e36cd6fe0b56dcebe98ab23a10e8efd38 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 13 Sep 2008 09:20:47 +0000 Subject: [PATCH] fix a typo --- src/Navaids/navlist.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Navaids/navlist.cxx b/src/Navaids/navlist.cxx index 1f19f626a..0b62054fb 100644 --- a/src/Navaids/navlist.cxx +++ b/src/Navaids/navlist.cxx @@ -296,7 +296,7 @@ static bool penaltyForNav(FGNavRecord* aNav, const SGVec3d &aPos) if ( az1 > 180.0) az1 -= 360.0; if ( az1 < -180.0) az1 += 360.0; - return fabs(az1 > 90.0); + return fabs(az1) > 90.0; } // Given a point and a list of stations, return the closest one to the -- 2.39.5