mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Fix 'jerky spectators' bug, reported by Zel.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5558 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0558ec638b
commit
48c3c27793
1 changed files with 1 additions and 0 deletions
|
@ -595,6 +595,7 @@ int Netchan_Transmit (netchan_t *chan, int length, qbyte *data, int rate)
|
|||
|
||||
int dupes = chan->dupe;
|
||||
int availbytes = Netchan_CanBytes(chan, rate);
|
||||
availbytes = max(0, availbytes); //make sure it can't go negative (clientside doesn't check rate limits much)
|
||||
|
||||
#ifdef NQPROT
|
||||
if (chan->isnqprotocol)
|
||||
|
|
Loading…
Reference in a new issue