1
0
Fork 0
forked from fte/fteqw

Fix missing serverinfo+userinfo in mvd files and qtv streams.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5458 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-05-07 03:19:42 +00:00
parent 1c32da08f9
commit 5e99d9b6f3

View file

@ -2808,7 +2808,7 @@ static qboolean SV_SyncInfoBuf(client_t *client)
return false;
}
if (host_client->num_backbuf)
if (client->num_backbuf)
return false;
if (client->netchan.message.cursize >= MAX_BACKBUFLEN/2)
return false; //don't bother trying to send anything.
@ -3109,6 +3109,17 @@ void SV_UpdateToReliableMessages (void)
}
}
#ifdef MVD_RECORDING
if (sv.mvdrecording)
{
while (demo.recorder.infosync.numkeys)
{
if (!SV_SyncInfoBuf(&demo.recorder))
break;
}
}
#endif
if (sv.reliable_datagram.overflowed)
{
Con_Printf("WARNING: Reliable datagram overflowed\n");