Send the player's datagrams... is this bad?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1783 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
33eadf8739
commit
4e42ac6395
1 changed files with 4 additions and 1 deletions
|
@ -1894,7 +1894,10 @@ void SV_SendClientMessages (void)
|
||||||
if (c->state == cs_spawned)
|
if (c->state == cs_spawned)
|
||||||
SV_SendClientDatagram (c);
|
SV_SendClientDatagram (c);
|
||||||
else
|
else
|
||||||
Netchan_Transmit (&c->netchan, 0, NULL, SV_RateForClient(c)); // just update reliable
|
{
|
||||||
|
Netchan_Transmit (&c->netchan, c->datagram.cursize, c->datagram.data, SV_RateForClient(c)); // just update reliable
|
||||||
|
c->datagram.cursize = 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue