From 1d0078be49bb213f8452c3b5ad725460cdecd9d7 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 9 Dec 2018 00:25:07 +0100 Subject: [PATCH] Fix packet resending --- src/engine/shared/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/shared/network.cpp b/src/engine/shared/network.cpp index 4390ff419..ac8212cff 100644 --- a/src/engine/shared/network.cpp +++ b/src/engine/shared/network.cpp @@ -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;