1
0
Fork 0

Minor edit.

I don't think these 2 lines are required - true is set as the default value above.
This commit is contained in:
Dave Luff 2011-01-15 14:27:08 +00:00
parent 3dd75394af
commit 6596f62dd0

View file

@ -103,9 +103,6 @@ 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();