1
0
Fork 0

No avionics sound group for aimodels.

This commit is contained in:
ThorstenB 2012-03-22 23:53:18 +01:00
parent 7d37f6af58
commit bc9331fc3f

View file

@ -64,9 +64,12 @@ FGFX::FGFX ( SGSoundMgr *smgr, const string &refname, SGPropertyNode *props ) :
SGSampleGroup::_refname = refname;
SGSampleGroup::_smgr->add(this, refname);
if (!_is_aimodel)
{
_avionics = _smgr->find("avionics", true);
_avionics->tie_to_listener();
}
}
FGFX::~FGFX ()