mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Fix computation of very high pings
This commit is contained in:
parent
65054bd0aa
commit
82dbe95e22
1 changed files with 1 additions and 1 deletions
|
@ -5499,7 +5499,7 @@ void NetUpdate(void)
|
|||
// update node latency values so we can take an average later.
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
if (playeringame[i] && playernode[i] != UINT8_MAX)
|
||||
realpingtable[i] += G_TicsToMilliseconds(GetLag(playernode[i]));
|
||||
realpingtable[i] += GetLag(playernode[i]) * (1000.00f / TICRATE);
|
||||
pingmeasurecount++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue