mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-07 04:40:43 +08:00
engine: client: cl_parse: minor code fix in CL_ParseLegacyServerData
This commit is contained in:
committed by
Alibek Omarov
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 );
|
||||
|
||||
Reference in New Issue
Block a user