]> git.mxchange.org Git - flightgear.git/commitdiff
Tie samplegroup 'avionics' to the listener, just in case no other device is created...
authorehofman <ehofman>
Thu, 19 Nov 2009 15:28:37 +0000 (15:28 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 19 Nov 2009 22:09:49 +0000 (23:09 +0100)
src/Sound/fg_fx.cxx

index abf3a2678668dbb997b896c3010f629b5266e15d..d2addc66deaeed7b10bae1b2b725819b82218e94 100644 (file)
@@ -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();
 }