if we have no description, the sounds is never 3d

This commit is contained in:
AzaezelX 2022-11-28 00:10:32 -06:00
parent e16351605b
commit ab98909f1e

View file

@ -554,7 +554,7 @@ void SFXSound::setTransform( const MatrixF& transform )
{
Parent::setTransform( transform );
if( mVoice && is3d() )
if( mVoice && mDescription && is3d() )
mVoice->setTransform( mTransform );
}