mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-19 19:40:21 +00:00
engine: client: cl_parse: minor code fix in CL_ParseLegacyServerData
This commit is contained in:
parent
ee8098839e
commit
44a43c2c09
@ -2456,8 +2456,8 @@ void CL_ParseLegacyServerData( sizebuf_t *msg )
|
||||
i = MSG_ReadLong( msg );
|
||||
//cls.serverProtocol = i;
|
||||
|
||||
if( i != 48 )
|
||||
Host_Error( "Server uses invalid protocol (%i should be %i)\n", i, PROTOCOL_VERSION );
|
||||
if( i != PROTOCOL_LEGACY_VERSION )
|
||||
Host_Error( "Server uses invalid protocol (%i should be %i)\n", i, PROTOCOL_LEGACY_VERSION );
|
||||
|
||||
cl.servercount = MSG_ReadLong( msg );
|
||||
cl.checksum = MSG_ReadLong( msg );
|
||||
|
Loading…
x
Reference in New Issue
Block a user