mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-21 17:41:48 +00:00
Fix computation of very high pings
This commit is contained in:
parent
86022608d2
commit
8b78811651
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…
Add table
Reference in a new issue