]> git.mxchange.org Git - flightgear.git/commitdiff
fix a typo
authorehofman <ehofman>
Sat, 13 Sep 2008 09:20:47 +0000 (09:20 +0000)
committerehofman <ehofman>
Sat, 13 Sep 2008 09:20:47 +0000 (09:20 +0000)
src/Navaids/navlist.cxx

index 1f19f626a81708528d9a7dfd1323da6a132cb492..0b62054fb683a6db00f5a3ee80dd051351e24c6e 100644 (file)
@@ -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