Fixed up game id

Store it in a proper buffer.
This commit is contained in:
Boondorl 2025-04-11 15:42:04 -04:00 committed by Ricardo Luís Vaz Silva
commit 58809a3689
4 changed files with 17 additions and 17 deletions

View file

@ -324,6 +324,8 @@ public:
void Net_ClearBuffers()
{
CloseNetwork();
for (int i = 0; i < MAXPLAYERS; ++i)
{
playeringame[i] = false;
@ -361,6 +363,7 @@ void Net_ClearBuffers()
gametic = ClientTic = 0;
SkipCommandTimer = SkipCommandAmount = CommandsAhead = 0;
NetEvents.ResetStream();
bCommandsReset = false;
LevelStartAck = 0u;
LevelStartDelay = LevelStartDebug = 0;