From 934ce52a235cda3827866f64a9af492f2ea1e63e Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 19 Nov 2009 15:28:37 +0000 Subject: [PATCH] Tie samplegroup 'avionics' to the listener, just in case no other device is created that does it. --- src/Sound/fg_fx.cxx | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.39.2