mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: fix sendres message for GoldSrc protocol
This commit is contained in:
@@ -1043,9 +1043,13 @@ void CL_ParseServerData( sizebuf_t *msg, connprotocol_t proto )
|
||||
COM_ClearCustomizationList( &cl.players[i].customdata, true );
|
||||
CL_CreateCustomizationList();
|
||||
|
||||
if( proto != PROTO_LEGACY )
|
||||
// request resources from server
|
||||
if( proto == PROTO_GOLDSRC )
|
||||
{
|
||||
CL_ServerCommand( true, "sendres" );
|
||||
}
|
||||
else if( proto != PROTO_LEGACY )
|
||||
{
|
||||
// request resources from server
|
||||
CL_ServerCommand( true, "sendres %i\n", cl.servercount );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user