From f607c244987baca8331fcfc07061d485f3381c2c Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Sun, 24 May 2026 19:51:18 +0100 Subject: [PATCH 1/2] Update sfxEmitter.cpp --- Engine/source/T3D/sfx/sfxEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/T3D/sfx/sfxEmitter.cpp b/Engine/source/T3D/sfx/sfxEmitter.cpp index 0cd794ba1..1b091dc53 100644 --- a/Engine/source/T3D/sfx/sfxEmitter.cpp +++ b/Engine/source/T3D/sfx/sfxEmitter.cpp @@ -521,7 +521,7 @@ void SFXEmitter::unpackUpdate( NetConnection *conn, BitStream *stream ) } // track - if (stream->readFlag()) // DirtyUpdateMask + if (_readDirtyFlag(stream, Track)) // DirtyUpdateMask { initialUpdate = false; UNPACK_ASSET(conn, Sound); From e4ff55b52cfb36c3060d3dc5afb30cfac34f1553 Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Sun, 24 May 2026 20:03:44 +0100 Subject: [PATCH 2/2] Update sfxEmitter.cpp --- Engine/source/T3D/sfx/sfxEmitter.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Engine/source/T3D/sfx/sfxEmitter.cpp b/Engine/source/T3D/sfx/sfxEmitter.cpp index 1b091dc53..000d75e74 100644 --- a/Engine/source/T3D/sfx/sfxEmitter.cpp +++ b/Engine/source/T3D/sfx/sfxEmitter.cpp @@ -1109,9 +1109,10 @@ void SFXEmitter::_renderCone( F32 radialIncrements, F32 sweepIncrements, void SFXEmitter::play() { - if( mSource ) + if (mSource) mSource->play(); - else + + if(isServerObject()) { // By clearing the playback masks first we // ensure the last playback command called @@ -1128,7 +1129,8 @@ void SFXEmitter::pause() { if (mSource) mSource->pause(); - else + + if(isServerObject()) { // By clearing the playback masks first we // ensure the last playback command called @@ -1143,9 +1145,10 @@ void SFXEmitter::pause() void SFXEmitter::stop() { - if ( mSource ) + if (mSource) mSource->stop(); - else + + if(isServerObject()) { // By clearing the playback masks first we // ensure the last playback command called