2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-04 02:55:50 +03:00

fix wrong condition

This commit is contained in:
s1lentq 2023-11-13 08:18:13 +07:00
parent 771486f43b
commit 74c2427f4b

View File

@ -1495,7 +1495,7 @@ qboolean Netchan_CopyNormalFragments(netchan_t *chan)
return FALSE; return FALSE;
} }
// compressed data is expected only after requesting resource list // 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); Con_DPrintf("%s:Incoming compressed data disallowed from %s\n", NET_AdrToString(chan->remote_address), host_client->name);
return FALSE; return FALSE;