Allow adjusting VoIP gain and mute during SP demo playback

This commit is contained in:
Zack Middleton committed 2013-06-04 23:19:47 -05:00
1 parent e89a1b9f8e
commit 2937ac7661
1 file changed
+1 -1
+1 -1
View File
@@ -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) {