From: Erik Hofman Date: Mon, 12 Dec 2011 09:49:09 +0000 (+0100) Subject: reaneble ai modeul sound effects X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=babe714de7932e4e205bf74d46bae57b947e130a;p=flightgear.git reaneble ai modeul sound effects --- 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();