engine: client: add unmunge function for consistency info for GoldSrc protocol
This commit is contained in:
parent
4eb54328f8
commit
0c54895877
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue