From 74ccff8bf571b8bfeeea42a4c62ea0528393fa37 Mon Sep 17 00:00:00 2001 From: icculus Date: Tue, 3 Jun 2008 02:28:03 +0000 Subject: Don't allow client to capture audio if playing back a demo. git-svn-id: svn://svn.icculus.org/quake3/trunk@1360 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_main.c | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v1.2.3