From 74c2427f4b6a9c9c60cf582f89eb8b36e5b1a0d8 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Mon, 13 Nov 2023 08:18:13 +0700 Subject: [PATCH] fix wrong condition --- rehlds/engine/net_chan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/net_chan.cpp b/rehlds/engine/net_chan.cpp index eb2b016..9894d70 100644 --- a/rehlds/engine/net_chan.cpp +++ b/rehlds/engine/net_chan.cpp @@ -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;