aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/client/cl_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 34185b9..1017b84 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -259,6 +259,8 @@ void CL_CaptureVoip(void)
dontCapture = qtrue; // server doesn't support VoIP.
else if ( Cvar_VariableValue( "g_gametype" ) == GT_SINGLE_PLAYER || Cvar_VariableValue("ui_singlePlayerActive"))
dontCapture = qtrue; // single player game.
+ else if (clc.demoplaying)
+ dontCapture = qtrue; // playing back a demo.
else if ( voip->integer == 0 )
dontCapture = qtrue; // client has VoIP support disabled.