1
0
Fork 0

Tie samplegroup 'avionics' to the listener, just in case no other device is created that does it.

This commit is contained in:
ehofman 2009-11-19 15:28:37 +00:00 committed by Tim Moore
parent 97db69cf8f
commit 934ce52a23

View 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();
}