From ab98909f1e12b1a8d87402eee5766abadfae1657 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Mon, 28 Nov 2022 00:10:32 -0600 Subject: [PATCH] if we have no description, the sounds is never 3d --- Engine/source/sfx/sfxSound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/sfx/sfxSound.cpp b/Engine/source/sfx/sfxSound.cpp index a4f2c05d3..447eb993b 100644 --- a/Engine/source/sfx/sfxSound.cpp +++ b/Engine/source/sfx/sfxSound.cpp @@ -554,7 +554,7 @@ void SFXSound::setTransform( const MatrixF& transform ) { Parent::setTransform( transform ); - if( mVoice && is3d() ) + if( mVoice && mDescription && is3d() ) mVoice->setTransform( mTransform ); }