From 0f7d8b84d6c906e44982fc1525f2c4d051cb3a0f Mon Sep 17 00:00:00 2001 From: icculus Date: Sun, 1 Jun 2008 17:43:58 +0000 Subject: Client shouldn't try to capture audio data if voip cvar is disabled. git-svn-id: svn://svn.icculus.org/quake3/trunk@1349 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'code') diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 22c89c6..2b87857 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 ( voip->integer == 0 ) + dontCapture = qtrue; // client has VoIP support disabled. cl_voipSend->modified = qfalse; -- cgit v1.2.3