From: ehofman Date: Sat, 13 Sep 2008 09:20:47 +0000 (+0000) Subject: fix a typo X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6bd7967e36cd6fe0b56dcebe98ab23a10e8efd38;p=flightgear.git fix a typo --- 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