Tie samplegroup 'avionics' to the listener, just in case no other device is created that does it.
This commit is contained in:
parent
97db69cf8f
commit
934ce52a23
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ FGFX::FGFX ( SGSoundMgr *smgr, const string &refname ) :
|
||||||
SGSampleGroup::_refname = refname;
|
SGSampleGroup::_refname = refname;
|
||||||
SGSampleGroup::_smgr->add(this, refname);
|
SGSampleGroup::_smgr->add(this, refname);
|
||||||
_avionics = _smgr->find("avionics", true);
|
_avionics = _smgr->find("avionics", true);
|
||||||
|
_avionics->tie_to_listener();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue