mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
commit
ba94f5829d
|
@ -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