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.
This commit is contained in:
Mitchell Richters 2020-08-25 21:41:37 +10:00 committed by Christoph Oelckers
parent d3b506eb2b
commit d04aa603dd

View file

@ -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];