Fix packet resending

This commit is contained in:
Unknown 2018-12-09 00:25:07 +01:00
parent c25fd502a0
commit 1d0078be49

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;