1
0
Fork 0

Make sure that we have a VOR or VORTAC, and not just a DME or TACAN.

This commit is contained in:
david 2003-02-06 16:18:17 +00:00
parent fbfb499d49
commit 41b04ba02b

View file

@ -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;