diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-01 17:43:58 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-01 17:43:58 +0000 |
commit | 0f7d8b84d6c906e44982fc1525f2c4d051cb3a0f (patch) | |
tree | 3be6a2978ed8d10d7840e2ab5b64ef9af4120109 | |
parent | 10afaeef337e0d19b37cb7dbe3fccee48bf18a43 (diff) | |
download | ioquake3-aero-0f7d8b84d6c906e44982fc1525f2c4d051cb3a0f.tar.gz ioquake3-aero-0f7d8b84d6c906e44982fc1525f2c4d051cb3a0f.zip |
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
-rw-r--r-- | code/client/cl_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |