- FGNav n;
- if ( current_navlist->query( -93.2 * SG_DEGREES_TO_RADIANS,
- 45.14 * SG_DEGREES_TO_RADIANS,
- 3000, 117.30, &n) )
+ FGNavRecord *n;
+ if ( (n = current_navlist->findByFreq( -93.2 * SG_DEGREES_TO_RADIANS,
+ 45.14 * SG_DEGREES_TO_RADIANS,
+ 3000, 117.30)) != NULL )