mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
engine: client: fix sendres message for GoldSrc protocol
This commit is contained in:
parent
a32c702dbd
commit
e81a0ded11
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user