Browse Source

engine: client: cl_parse: minor code fix in CL_ParseLegacyServerData

pull/2/head
SNMetamorph 2 years ago committed by Alibek Omarov
parent
commit
44a43c2c09
  1. 4
      engine/client/cl_parse.c

4
engine/client/cl_parse.c

@ -2456,8 +2456,8 @@ void CL_ParseLegacyServerData( sizebuf_t *msg )
i = MSG_ReadLong( msg ); i = MSG_ReadLong( msg );
//cls.serverProtocol = i; //cls.serverProtocol = i;
if( i != 48 ) if( i != PROTOCOL_LEGACY_VERSION )
Host_Error( "Server uses invalid protocol (%i should be %i)\n", i, PROTOCOL_VERSION ); Host_Error( "Server uses invalid protocol (%i should be %i)\n", i, PROTOCOL_LEGACY_VERSION );
cl.servercount = MSG_ReadLong( msg ); cl.servercount = MSG_ReadLong( msg );
cl.checksum = MSG_ReadLong( msg ); cl.checksum = MSG_ReadLong( msg );

Loading…
Cancel
Save