Allow recording VoIP in SP for demo commentaries

This commit is contained in:
Zack Middleton 2013-06-04 22:28:46 -05:00
parent 1315d62491
commit 21c93736b8

View file

@ -365,10 +365,7 @@ void CL_SystemInfoChanged( void ) {
#endif #endif
{ {
s = Info_ValueForKey( systemInfo, "sv_voip" ); s = Info_ValueForKey( systemInfo, "sv_voip" );
if ( Cvar_VariableValue( "g_gametype" ) == GT_SINGLE_PLAYER || Cvar_VariableValue("ui_singlePlayerActive")) clc.voipEnabled = atoi(s);
clc.voipEnabled = qfalse;
else
clc.voipEnabled = atoi(s);
} }
#endif #endif