1
0
Fork 0

drop pointless warning. If the sound can't be removed, then proably because

it was never added, which is perfectly normal when the aircraft started
out of range. (Analog to the DME sound, which doesn't have that warning
either.)
This commit is contained in:
mfranz 2006-10-20 12:12:12 +00:00
parent 39869b582a
commit 43ce93303c

View file

@ -931,11 +931,8 @@ void FGNavRadio::search()
target_radial = 0;
trans_ident = "";
last_nav_id = "";
if ( ! globals->get_soundmgr()->remove( nav_fx_name ) ) {
SG_LOG(SG_COCKPIT, SG_WARN, "Failed to remove nav-vor-ident sound");
}
globals->get_soundmgr()->remove( nav_fx_name );
globals->get_soundmgr()->remove( dme_fx_name );
// cout << "not picking up vor1. :-(" << endl;
}
is_valid_node->setBoolValue( is_valid );