From 6596f62dd0deef978eae93e35ae99d05c070e413 Mon Sep 17 00:00:00 2001 From: Dave Luff Date: Sat, 15 Jan 2011 14:27:08 +0000 Subject: [PATCH] Minor edit. I don't think these 2 lines are required - true is set as the default value above. --- src/Instrumentation/adf.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Instrumentation/adf.cxx b/src/Instrumentation/adf.cxx index 41ee7700e..94171731d 100644 --- a/src/Instrumentation/adf.cxx +++ b/src/Instrumentation/adf.cxx @@ -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();