Merge pull request #8786 from ChillerDragon/pr_fix_doubled_06_sounds

Fix sounds being doubled in 0.6
This commit is contained in:
Dennis Felsing 2024-08-22 12:00:06 +00:00 committed by GitHub
commit 0ba6d998a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -853,7 +853,7 @@ void CCharacter::TickDeferred()
// Some sounds are triggered client-side for the acting player (or for all players on Sixup)
// so we need to avoid duplicating them
CClientMask TeamMaskExceptSelfAndSixup = Teams()->TeamMask(Team(), -1, CID, CGameContext::FLAG_SIX);
CClientMask TeamMaskExceptSelfAndSixup = Teams()->TeamMask(Team(), CID, CID, CGameContext::FLAG_SIX);
// Some are triggered client-side but only on Sixup
CClientMask TeamMaskExceptSixup = Teams()->TeamMask(Team(), -1, CID, CGameContext::FLAG_SIX);