From f0c729f2d50bd6d9ee4151db514a5f5dba706e40 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Tue, 27 Dec 2011 13:04:09 +0100 Subject: [PATCH 1/1] #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. --- src/Sound/sample_queue.cxx | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.39.5