- 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:
Mitchell Richters 2020-08-28 15:29:41 +10:00
parent 97feb483ab
commit ea2790ce08

View file

@ -327,7 +327,7 @@ bool GameTicker()
int const currentTic = I_GetTime();
gameclock = I_GetBuildTime();
if (playrunning() && currentTic - lastTic >= 1)
while (playrunning() && currentTic - lastTic >= 1)
{
lastTic = currentTic;