mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-26 03:39:16 +01:00
engine: client: add unmunge function for consistency info for GoldSrc protocol
This commit is contained in:
parent
4eb54328f8
commit
0c54895877
@ -1872,7 +1872,11 @@ static void CL_ParseConsistencyInfo( sizebuf_t *msg, connprotocol_t proto )
|
|||||||
pc->value = 0;
|
pc->value = 0;
|
||||||
|
|
||||||
if( pResource->type == t_model && memcmp( nullbuffer, pResource->rguc_reserved, 32 ))
|
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];
|
pc->check_type = pResource->rguc_reserved[0];
|
||||||
|
}
|
||||||
|
|
||||||
skip_crc_change = pResource;
|
skip_crc_change = pResource;
|
||||||
lastcheck = delta;
|
lastcheck = delta;
|
||||||
|
Loading…
Reference in New Issue
Block a user