From 2937ac76616459fd7fb85dccb36b8ca2cddfa5f4 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 4 Jun 2013 23:04:49 -0500 Subject: [PATCH] Allow adjusting VoIP gain and mute during SP demo playback --- code/client/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 4700c9be..c345c973 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -256,7 +256,7 @@ void CL_Voip_f( void ) reason = "Speex not initialized"; else if (!clc.voipEnabled) reason = "Server doesn't support VoIP"; - else if ( Cvar_VariableValue( "g_gametype" ) == GT_SINGLE_PLAYER || Cvar_VariableValue("ui_singlePlayerActive")) + else if (!clc.demoplaying && (Cvar_VariableValue( "g_gametype" ) == GT_SINGLE_PLAYER || Cvar_VariableValue("ui_singlePlayerActive"))) reason = "running in single-player mode"; if (reason != NULL) {