1
0
Fork 0

Recognize standalone DMEs (type 13 in Robin's list).

This commit is contained in:
david 2006-03-10 03:46:50 +00:00
parent e4f08637f7
commit c486dc0589

View file

@ -122,8 +122,8 @@ bool fgNavDBInit( FGAirportList *airports,
{
// Marker Beacon = 7,8,9
mkrlist->add( r );
} else if ( r->get_type() == 12 ) {
// DME=12
} else if ( r->get_type() == 12 || r->get_type() == 13) {
// DME with ILS=12; standalone DME=13
string str1( r->get_name() );
unsigned int loc1= str1.find( "TACAN", 0 );
unsigned int loc2 = str1.find( "VORTAC", 0 );