Added CRC to packets
Verify that data is correctly ordered and reject packets that aren't. Also generates a random game id to ensure packets are coming from legitimate clients.
This commit is contained in:
parent
9e2b1f9c4c
commit
7877018471
3 changed files with 67 additions and 32 deletions
|
|
@ -1695,9 +1695,6 @@ bool D_CheckNetGame()
|
|||
if (!I_InitNetwork())
|
||||
return false;
|
||||
|
||||
if (GameID != DEFAULT_GAME_ID)
|
||||
I_FatalError("Invalid id set for network buffer");
|
||||
|
||||
if (Args->CheckParm("-extratic"))
|
||||
net_extratic = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue