r1360 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 2 22:28:08 EDT 2008


Author: icculus
Date: 2008-06-02 22:28:03 -0400 (Mon, 02 Jun 2008)
New Revision: 1360

Modified:
   trunk/code/client/cl_main.c
Log:
Don't allow client to capture audio if playing back a demo.


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2008-06-02 23:07:05 UTC (rev 1359)
+++ trunk/code/client/cl_main.c	2008-06-03 02:28:03 UTC (rev 1360)
@@ -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 (clc.demoplaying)
+			dontCapture = qtrue;  // playing back a demo.
 		else if ( voip->integer == 0 )
 			dontCapture = qtrue;  // client has VoIP support disabled.
 




More information about the quake3-commits mailing list