From 31c0d657591cce3df274a818dbfbc5099387fd14 Mon Sep 17 00:00:00 2001 From: Frenkel Smeijers Date: Sat, 31 Aug 2024 12:06:22 +0200 Subject: [PATCH] fix I_GetTime() bug --- i_elks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i_elks.c b/i_elks.c index 374425a..2425da3 100644 --- a/i_elks.c +++ b/i_elks.c @@ -294,7 +294,7 @@ static int32_t clock() int32_t I_GetTime(void) { int32_t now = clock(); - return ((now - basetime) * TICRATE) / CLOCKS_PER_SEC; + return ((now - basetime) * TICRATE) / 1000L; }