mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 16:41:31 +00:00
Allow adjusting VoIP gain and mute during demo playback
This commit is contained in:
parent
21c93736b8
commit
e89a1b9f8e
1 changed files with 5 additions and 5 deletions
|
@ -352,11 +352,6 @@ void CL_SystemInfoChanged( void ) {
|
||||||
// in some cases, outdated cp commands might get sent with this news serverId
|
// in some cases, outdated cp commands might get sent with this news serverId
|
||||||
cl.serverId = atoi( Info_ValueForKey( systemInfo, "sv_serverid" ) );
|
cl.serverId = atoi( Info_ValueForKey( systemInfo, "sv_serverid" ) );
|
||||||
|
|
||||||
// don't set any vars when playing a demo
|
|
||||||
if ( clc.demoplaying ) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef USE_VOIP
|
#ifdef USE_VOIP
|
||||||
#ifdef LEGACY_PROTOCOL
|
#ifdef LEGACY_PROTOCOL
|
||||||
if(clc.compat)
|
if(clc.compat)
|
||||||
|
@ -369,6 +364,11 @@ void CL_SystemInfoChanged( void ) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// don't set any vars when playing a demo
|
||||||
|
if ( clc.demoplaying ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
s = Info_ValueForKey( systemInfo, "sv_cheats" );
|
s = Info_ValueForKey( systemInfo, "sv_cheats" );
|
||||||
cl_connectedToCheatServer = atoi( s );
|
cl_connectedToCheatServer = atoi( s );
|
||||||
if ( !cl_connectedToCheatServer ) {
|
if ( !cl_connectedToCheatServer ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue