1
0
Fork 0

#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.
This commit is contained in:
ThorstenB 2011-12-27 13:04:09 +01:00
parent ddb4fa050f
commit f0c729f2d5

View file

@ -45,8 +45,6 @@ FGSampleQueue::FGSampleQueue ( SGSoundMgr *smgr, const string &refname ) :
SGSampleGroup::_smgr = smgr; SGSampleGroup::_smgr = smgr;
SGSampleGroup::_smgr->add(this, refname); SGSampleGroup::_smgr->add(this, refname);
SGSampleGroup::_refname = refname; SGSampleGroup::_refname = refname;
_enabled->setBoolValue(true);
_volume->setFloatValue(1.0);
} }