bandaid fix for checkpoint theft exploit

This commit is contained in:
shavit 2018-08-10 17:23:55 +03:00
parent b4500cb2d5
commit a584082fd7

View File

@ -1914,7 +1914,7 @@ bool SaveCheckpoint(int client, int index, bool overflow = false)
cpcache[bCPSegmented] = false;
}
cpcache[bCPSpectated] = (client != target);
cpcache[bCPSpectated] = (client != target || bCPSegmented); // spoof a segmented cp to avoid abuse(? my brain is melting rn)
if(overflow)
{