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:
parent
0fd9cb8c9c
commit
fa303f250e
1 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue