Minor edit.
I don't think these 2 lines are required - true is set as the default value above.
This commit is contained in:
parent
3dd75394af
commit
6596f62dd0
1 changed files with 0 additions and 3 deletions
|
@ -103,9 +103,6 @@ ADF::init ()
|
||||||
_ident_audible_node = node->getChild("ident-audible", 0, true);
|
_ident_audible_node = node->getChild("ident-audible", 0, true);
|
||||||
_power_btn_node = node->getChild("power-btn", 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();
|
SGSoundMgr *smgr = globals->get_soundmgr();
|
||||||
_sgr = smgr->find("avionics", true);
|
_sgr = smgr->find("avionics", true);
|
||||||
_sgr->tie_to_listener();
|
_sgr->tie_to_listener();
|
||||||
|
|
Loading…
Reference in a new issue