mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
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:
parent
d3b506eb2b
commit
d04aa603dd
1 changed files with 1 additions and 1 deletions
|
@ -328,11 +328,11 @@ bool GameTicker()
|
||||||
gameupdatetime.Clock();
|
gameupdatetime.Clock();
|
||||||
|
|
||||||
int const currentTic = I_GetTime();
|
int const currentTic = I_GetTime();
|
||||||
|
gameclock = I_GetBuildTime();
|
||||||
|
|
||||||
if (playrunning() && currentTic - lastTic >= 1)
|
if (playrunning() && currentTic - lastTic >= 1)
|
||||||
{
|
{
|
||||||
lastTic = currentTic;
|
lastTic = currentTic;
|
||||||
gameclock = currentTic * TICSPERFRAME;
|
|
||||||
|
|
||||||
GetInput();
|
GetInput();
|
||||||
auto const pPlayer = &ps[myconnectindex];
|
auto const pPlayer = &ps[myconnectindex];
|
||||||
|
|
Loading…
Reference in a new issue