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:
parent
39869b582a
commit
43ce93303c
1 changed files with 1 additions and 4 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue