mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
engine: client: avoid useless check on empty clc_resourcelist, which will never be false
This commit is contained in:
parent
23a5ed71de
commit
a32c702dbd
@ -791,7 +791,9 @@ void CL_ParseResourceRequest( sizebuf_t *msg )
|
||||
MSG_WriteBytes( &sbuf, cl.resourcelist[i].rgucMD5_hash, 16 );
|
||||
}
|
||||
|
||||
if( MSG_GetNumBytesWritten( &sbuf ) > 0 )
|
||||
// a1ba: useless check? MSG_BeginClientCmd and MSG_WriteShort will always
|
||||
// write to the buffer
|
||||
// if( MSG_GetNumBytesWritten( &sbuf ) > 0 )
|
||||
{
|
||||
Netchan_CreateFragments( &cls.netchan, &sbuf );
|
||||
Netchan_FragSend( &cls.netchan );
|
||||
|
Loading…
Reference in New Issue
Block a user