aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/client/cl_parse.c')
-rw-r--r--code/client/cl_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c
index 18cbe27..2219529 100644
--- a/code/client/cl_parse.c
+++ b/code/client/cl_parse.c
@@ -641,8 +641,8 @@ qboolean CL_ShouldIgnoreVoipSender(int sender)
{
if (!voip->integer)
return qtrue; // VoIP is disabled.
- else if (sender == clc.clientNum)
- return qtrue; // this is us, don't output our own voice.
+ else if ((sender == clc.clientNum) && (!clc.demoplaying))
+ return qtrue; // ignore own voice (unless playing back a demo).
else if (clc.voipMuteAll)
return qtrue; // all channels are muted with extreme prejudice.
else if (clc.voipIgnore[sender])