Skip to content

Commit

Permalink
Merge branch 'revert-ping-fix' into 'next'
Browse files Browse the repository at this point in the history
Revert "Fix computation of very high pings"

See merge request STJr/SRB2!1053
  • Loading branch information
LJSonik committed Jul 10, 2020
2 parents bc138c5 + f8aefc2 commit 3668c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d_clisrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -5496,7 +5496,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] += GetLag(playernode[i]) * (1000.00f / TICRATE);
realpingtable[i] += G_TicsToMilliseconds(GetLag(playernode[i]));
pingmeasurecount++;
}

Expand Down

0 comments on commit 3668c37

Please sign in to comment.