mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
- Duke: Switch game tic back to a while loop. I didn't mean to commit it this way in ab06235971
.
* I doubt anyone will be running this on a system where computing a tic might take longer than a tic, but it's more consistent with the other games and is what it was.
This commit is contained in:
parent
97feb483ab
commit
ea2790ce08
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ bool GameTicker()
|
||||||
int const currentTic = I_GetTime();
|
int const currentTic = I_GetTime();
|
||||||
gameclock = I_GetBuildTime();
|
gameclock = I_GetBuildTime();
|
||||||
|
|
||||||
if (playrunning() && currentTic - lastTic >= 1)
|
while (playrunning() && currentTic - lastTic >= 1)
|
||||||
{
|
{
|
||||||
lastTic = currentTic;
|
lastTic = currentTic;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue