engine: initialize network buffers used on player connect and after

This commit is contained in:
Alibek Omarov
2023-02-09 17:57:45 +03:00
parent c23396f533
commit fccf044976
4 changed files with 5 additions and 0 deletions

View File

@@ -711,6 +711,7 @@ void SV_SendClientDatagram( sv_client_t *cl )
byte msg_buf[MAX_DATAGRAM];
sizebuf_t msg;
memset( msg_buf, 0, sizeof( msg_buf ));
MSG_Init( &msg, "Datagram", msg_buf, sizeof( msg_buf ));
// always send servertime at new frame