Increment by 4, since loop does 4 frames at a time

Compensate for compiler optimizations performed on CNetChan::FlowNewPacket().
This commit is contained in:
Amos 2023-08-18 15:03:56 +02:00
parent 2caccf6c91
commit 26da5fd503

View File

@ -142,7 +142,7 @@ void CNetChan::_FlowNewPacket(CNetChan* pChan, int flow, int outSeqNr, int inSeq
do
{
++numPacketFrames;
numPacketFrames += 4;
v24 = (v20 - 2) & NET_FRAMES_MASK;
v25 = v24;