mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Fix packet resending
This commit is contained in:
parent
c25fd502a0
commit
1d0078be49
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue