mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 23:23:47 +00:00
gcc/clang build fix
This commit is contained in:
parent
963739102c
commit
fd23f0d0e9
2 changed files with 3 additions and 2 deletions
|
|
@ -359,7 +359,8 @@ void SoundComponent::updateAudioState(Sound& st)
|
|||
{
|
||||
//if (Sim::findObject(SimObjectId((uintptr_t)st.profile), st.profile))
|
||||
// {
|
||||
st.sound = SFX->createSource(st.profile, &mOwner->getTransform());
|
||||
MatrixF transform = mOwner->getTransform();
|
||||
st.sound = SFX->createSource(st.profile, &transform);
|
||||
if (st.sound)
|
||||
st.sound->play();
|
||||
//}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue