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
1 changed files with 1 additions and 4 deletions

View File

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