engine: client: cl_parse: minor code fix in CL_ParseLegacyServerData
This commit is contained in:
parent
ee8098839e
commit
44a43c2c09
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue