1
0
Fork 0

Revert "Minor edit."

This reverts commit 6596f62dd0.
I think I was wrong!
This commit is contained in:
Dave Luff 2011-01-16 20:20:55 +00:00
parent 3add62608c
commit 8691d2fe54

View file

@ -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();