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:
Spoike 2019-10-02 06:07:40 +00:00
parent 0558ec638b
commit 48c3c27793
1 changed files with 1 additions and 0 deletions

View File

@ -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)