From babe714de7932e4e205bf74d46bae57b947e130a Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Mon, 12 Dec 2011 10:49:09 +0100 Subject: [PATCH] reaneble ai modeul sound effects --- src/Sound/fg_fx.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Sound/fg_fx.cxx b/src/Sound/fg_fx.cxx index 94b7f6b98..a9eaa99f1 100644 --- a/src/Sound/fg_fx.cxx +++ b/src/Sound/fg_fx.cxx @@ -53,7 +53,6 @@ FGFX::FGFX ( SGSoundMgr *smgr, const string &refname, SGPropertyNode *props ) : _enabled->setBoolValue(fgGetBool("/sim/sound/effects/enabled")); _volume = _props->getNode("/sim/sound/aimodels/volume", true); _volume->setFloatValue(fgGetFloat("/sim/sound/effects/volume")); -_volume->setFloatValue(0.1f); } _avionics_enabled = _props->getNode("sim/sound/avionics/enabled", true); @@ -113,7 +112,7 @@ FGFX::init() } node = root.getNode("fx"); - if(node && !_is_aimodel) { + if(node) { for (int i = 0; i < node->nChildren(); ++i) { SGXmlSound *soundfx = new SGXmlSound();