Merge pull request #1821 from axblk/resend_fix

Fix packet resending
This commit is contained in:
oy 2018-12-09 18:06:04 +01:00 committed by GitHub
commit ba94f5829d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ int CNetRecvUnpacker::FetchChunk(CNetChunk *pChunk)
// fill in the info
pChunk->m_ClientID = m_ClientID;
pChunk->m_Address = m_Addr;
pChunk->m_Flags = Header.m_Flags;
pChunk->m_Flags = (Header.m_Flags&NET_CHUNKFLAG_VITAL) ? NETSENDFLAG_VITAL : 0;
pChunk->m_DataSize = Header.m_Size;
pChunk->m_pData = pData;
return 1;