From: ehofman Date: Thu, 19 Nov 2009 15:28:37 +0000 (+0000) Subject: Tie samplegroup 'avionics' to the listener, just in case no other device is created... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=934ce52a235cda3827866f64a9af492f2ea1e63e;p=flightgear.git Tie samplegroup 'avionics' to the listener, just in case no other device is created that does it. --- diff --git a/src/Sound/fg_fx.cxx b/src/Sound/fg_fx.cxx index abf3a2678..d2addc66d 100644 --- a/src/Sound/fg_fx.cxx +++ b/src/Sound/fg_fx.cxx @@ -48,6 +48,7 @@ FGFX::FGFX ( SGSoundMgr *smgr, const string &refname ) : SGSampleGroup::_refname = refname; SGSampleGroup::_smgr->add(this, refname); _avionics = _smgr->find("avionics", true); + _avionics->tie_to_listener(); }