mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: initialize network buffers used on player connect and after
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user