2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

engine: client: add unmunge function for consistency info for GoldSrc protocol

This commit is contained in:
Alibek Omarov 2024-10-11 18:39:52 +03:00
parent 4eb54328f8
commit 0c54895877

View File

@ -1872,7 +1872,11 @@ static void CL_ParseConsistencyInfo( sizebuf_t *msg, connprotocol_t proto )
pc->value = 0;
if( pResource->type == t_model && memcmp( nullbuffer, pResource->rguc_reserved, 32 ))
{
if( proto == PROTO_GOLDSRC )
COM_UnMunge( pResource->rguc_reserved, sizeof( pResource->rguc_reserved ), cl.servercount );
pc->check_type = pResource->rguc_reserved[0];
}
skip_crc_change = pResource;
lastcheck = delta;