From: ThorstenB Date: Tue, 27 Dec 2011 12:04:09 +0000 (+0100) Subject: #545: Fix ATC chatter sound settings being ignored X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0c729f2d50bd6d9ee4151db514a5f5dba706e40;hp=ddb4fa050fd9142820c9211c72f5a6ef11d7ce67;p=flightgear.git #545: Fix ATC chatter sound settings being ignored FGSampleQueue is initialized at run-time, long after preferences are loaded from the persistent files - so it should not reset anything. --- diff --git a/src/Sound/sample_queue.cxx b/src/Sound/sample_queue.cxx index ac56c9b25..fd2931ef6 100644 --- a/src/Sound/sample_queue.cxx +++ b/src/Sound/sample_queue.cxx @@ -45,8 +45,6 @@ FGSampleQueue::FGSampleQueue ( SGSoundMgr *smgr, const string &refname ) : SGSampleGroup::_smgr = smgr; SGSampleGroup::_smgr->add(this, refname); SGSampleGroup::_refname = refname; - _enabled->setBoolValue(true); - _volume->setFloatValue(1.0); }