1
0
Fork 0
forked from fte/fteqw

Make overkill.mvd not overflow the client when coming in fresh.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@573 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-05 15:38:18 +00:00
parent 0fd9cb8c9c
commit fa303f250e

View file

@ -608,6 +608,12 @@ void SV_FullClientUpdateToClient (client_t *client, client_t *cl)
else else
#endif #endif
{ {
if (sv.demofile)
{
int i = client - svs.clients;
ClientReliableCheckBlock(cl, 24 + strlen(sv.recordedplayer[i].userinfo));
}
else
ClientReliableCheckBlock(cl, 24 + strlen(client->userinfo)); ClientReliableCheckBlock(cl, 24 + strlen(client->userinfo));
if (cl->num_backbuf) { if (cl->num_backbuf) {
SV_FullClientUpdate (client, &cl->backbuf); SV_FullClientUpdate (client, &cl->backbuf);