VoIP: voip cvar should be 1 by default.

This commit is contained in:
Ryan C. Gordon 2008-06-03 06:06:17 +00:00
parent 32d7799c7c
commit 45c18e29b8

View file

@ -3037,7 +3037,7 @@ void CL_Init( void ) {
#if USE_VOIP #if USE_VOIP
cl_voipSend = Cvar_Get ("cl_voipSend", "0", 0); cl_voipSend = Cvar_Get ("cl_voipSend", "0", 0);
cl_voipGainDuringCapture = Cvar_Get ("cl_voipGainDuringCapture", "0.2", CVAR_ARCHIVE); cl_voipGainDuringCapture = Cvar_Get ("cl_voipGainDuringCapture", "0.2", CVAR_ARCHIVE);
voip = Cvar_Get ("voip", "0", CVAR_USERINFO | CVAR_ARCHIVE | CVAR_LATCH); voip = Cvar_Get ("voip", "1", CVAR_USERINFO | CVAR_ARCHIVE | CVAR_LATCH);
// This is a protocol version number. // This is a protocol version number.
if ( (voip->integer < 0) || (voip->integer > 1) ) { if ( (voip->integer < 0) || (voip->integer > 1) ) {