Revert "Minor edit."
This reverts commit 6596f62dd0
.
I think I was wrong!
This commit is contained in:
parent
3add62608c
commit
8691d2fe54
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ ADF::init ()
|
|||
_ident_audible_node = node->getChild("ident-audible", 0, true);
|
||||
_power_btn_node = node->getChild("power-btn", 0, true);
|
||||
|
||||
if (_power_btn_node->getType() == simgear::props::NONE)
|
||||
_power_btn_node->setBoolValue(true); // front end didn't implement a power button
|
||||
|
||||
SGSoundMgr *smgr = globals->get_soundmgr();
|
||||
_sgr = smgr->find("avionics", true);
|
||||
_sgr->tie_to_listener();
|
||||
|
|
Loading…
Reference in a new issue