mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Revert "Fix computation of very high pings"
This reverts commit 8b78811651.
This commit is contained in:
parent
64538f97a1
commit
49ad2c7313
1 changed files with 1 additions and 1 deletions
|
|
@ -5496,7 +5496,7 @@ void NetUpdate(void)
|
||||||
// update node latency values so we can take an average later.
|
// update node latency values so we can take an average later.
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
if (playeringame[i] && playernode[i] != UINT8_MAX)
|
if (playeringame[i] && playernode[i] != UINT8_MAX)
|
||||||
realpingtable[i] += GetLag(playernode[i]) * (1000.00f / TICRATE);
|
realpingtable[i] += G_TicsToMilliseconds(GetLag(playernode[i]));
|
||||||
pingmeasurecount++;
|
pingmeasurecount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue