[server] Implement HasTimestamps(...)

This commit is contained in:
RD42 2024-05-11 22:43:29 +08:00
parent eb1376c960
commit 167456da23

View File

@ -22,6 +22,17 @@ BYTE GetPacketID(Packet *p)
//----------------------------------------------------
bool HasTimestamps(Packet *p)
{
if (p==0) return 0;
if ((unsigned char)p->data[0] == ID_TIMESTAMP)
return true;
return false;
}
//----------------------------------------------------
CNetGame::CNetGame()
{
m_bAllowWeapons = FALSE;