[iortcw] 27/497: All: Don't play all 'local' sounds at full volume

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit ca7951651495d58544cf20c06a6abf3f672d7a35
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sun Jan 26 02:05:57 2014 +0000

    All: Don't play all 'local' sounds at full volume
---
 MP/code/client/snd_dma.c | 2 +-
 SP/code/client/snd_dma.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/client/snd_dma.c b/MP/code/client/snd_dma.c
index a03fdb6..c7e2f1f 100644
--- a/MP/code/client/snd_dma.c
+++ b/MP/code/client/snd_dma.c
@@ -649,7 +649,7 @@ static void S_Base_MainStartSound( vec3_t origin, int entityNum, int entchannel,
 	}
 
 	fullVolume = qfalse;
-	if (localSound || S_Base_HearingThroughEntity(entityNum, origin)) {
+	if (S_Base_HearingThroughEntity(entityNum, origin)) {
 		fullVolume = qtrue;
 	}
 
diff --git a/SP/code/client/snd_dma.c b/SP/code/client/snd_dma.c
index 7a8fafd..ddb6965 100644
--- a/SP/code/client/snd_dma.c
+++ b/SP/code/client/snd_dma.c
@@ -653,7 +653,7 @@ static void S_Base_MainStartSound( vec3_t origin, int entityNum, int entchannel,
 	}
 
 	fullVolume = qfalse;
-	if (localSound || S_Base_HearingThroughEntity(entityNum, origin)) {
+	if (S_Base_HearingThroughEntity(entityNum, origin)) {
 		fullVolume = qtrue;
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list