1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2006-01-03 21:31:56 +00:00
parent 33eadf8739
commit 4e42ac6395

View file

@ -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;
}
} }