mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
fix wrong condition
This commit is contained in:
parent
771486f43b
commit
74c2427f4b
@ -1495,7 +1495,7 @@ qboolean Netchan_CopyNormalFragments(netchan_t *chan)
|
||||
return FALSE;
|
||||
}
|
||||
// compressed data is expected only after requesting resource list
|
||||
else if (host_client->m_sendrescount)
|
||||
else if (host_client->m_sendrescount == 0)
|
||||
{
|
||||
Con_DPrintf("%s:Incoming compressed data disallowed from %s\n", NET_AdrToString(chan->remote_address), host_client->name);
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user