mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: avoid useless check on empty clc_resourcelist, which will never be false
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user