mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
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.
* It's also better that everything be based off the one tic clock and not call `I_GetBuildTime()` to set `gameclock`. This also ensures that `gameclock` always increases in intervals of 4. This reverts commit 63eac13d6442357fdab57067ec913a2ce8ce72db.
This commit is contained in:
parent
be5419e77c
commit
e9c0831ccc
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue