r1349 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jun 1 13:44:02 EDT 2008


Author: icculus
Date: 2008-06-01 13:43:58 -0400 (Sun, 01 Jun 2008)
New Revision: 1349

Modified:
   trunk/code/client/cl_main.c
Log:
Client shouldn't try to capture audio data if voip cvar is disabled.


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2008-06-01 07:51:23 UTC (rev 1348)
+++ trunk/code/client/cl_main.c	2008-06-01 17:43:58 UTC (rev 1349)
@@ -259,6 +259,8 @@
 			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;
 




More information about the quake3-commits mailing list