From d04aa603dda69d25d43c36e26d12857dddce39b8 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 25 Aug 2020 21:41:37 +1000 Subject: [PATCH] Revert "Revert "- Duke: Remove left-over line." and re-do as a multiplier of `TICSPERFRAME` for better clarity as to what's happening rather than a bit-shift." This reverts commit 0cdd27b61534219a0d00b794a45a09f26a95afaa. --- source/games/duke/src/gameloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/gameloop.cpp b/source/games/duke/src/gameloop.cpp index 922228eec..424bb0ba9 100644 --- a/source/games/duke/src/gameloop.cpp +++ b/source/games/duke/src/gameloop.cpp @@ -328,11 +328,11 @@ bool GameTicker() gameupdatetime.Clock(); int const currentTic = I_GetTime(); + gameclock = I_GetBuildTime(); if (playrunning() && currentTic - lastTic >= 1) { lastTic = currentTic; - gameclock = currentTic * TICSPERFRAME; GetInput(); auto const pPlayer = &ps[myconnectindex];