engine: client: cl_parse: moved buffer to stack in CL_ParseVoiceData

This commit is contained in:
SNMetamorph 2022-08-16 19:33:52 +04:00 committed by Alibek Omarov
parent b0ff51d5a0
commit a688bed79f

View File

@ -1700,7 +1700,7 @@ CL_ParseVoiceData
void CL_ParseVoiceData( sizebuf_t *msg ) void CL_ParseVoiceData( sizebuf_t *msg )
{ {
int size, idx, frames; int size, idx, frames;
static byte received[8192]; byte received[8192];
idx = MSG_ReadByte( msg ) + 1; idx = MSG_ReadByte( msg ) + 1;