Permalink
Browse files

client: explicitly stop all noise while downloading when

cl_allowDownload 2 is set
  • Loading branch information...
IR4T4 committed Jan 10, 2019
1 parent ab12171 commit 87e63e97ffd1d6f9bdcb0d4048d0ebf5cde876ba
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/client/cl_parse.c
@@ -819,6 +819,12 @@ void CL_ParseDownload(msg_t *msg)
return;
}

// explicitly stop all noise while downloading
if (cl_allowDownload->integer == 2)
{
S_StopAllSounds();
}

// read the data
block = MSG_ReadShort(msg);

0 comments on commit 87e63e9

Please sign in to comment.