Make sure that we have a VOR or VORTAC, and not just a DME or TACAN.
This commit is contained in:
parent
fbfb499d49
commit
41b04ba02b
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ void FGNavCom::search()
|
|||
}
|
||||
} else if ( (nav = current_navlist->findByFreq(nav_freq, lon, lat, elev)) != NULL ) {
|
||||
nav_id = nav->get_ident();
|
||||
nav_valid = true;
|
||||
nav_valid = (nav->get_type() == 'V');
|
||||
if ( last_nav_id != nav_id || !last_nav_vor ) {
|
||||
last_nav_id = nav_id;
|
||||
last_nav_vor = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue