From 54920c817b55ab89f95a8f3e2bba6d12219f869d Mon Sep 17 00:00:00 2001 From: Lach Date: Sat, 8 Jun 2024 00:27:44 +1000 Subject: [PATCH] Correct local millisecond measurement in ping command output --- src/d_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_net.c b/src/d_net.c index 8a315fb1f..f87e2581f 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -1517,7 +1517,7 @@ void Command_Ping_f(void) if (!server && playeringame[consoleplayer]) { - CONS_Printf("\nYour ping is %d frames (%d ms)\n", playerpingtable[consoleplayer], (INT32)(playerpingtable[i] * (1000.00f / TICRATE))); + CONS_Printf("\nYour ping is %d frames (%d ms)\n", playerpingtable[consoleplayer], (INT32)(playerpingtable[consoleplayer] * (1000.00f / TICRATE))); } }