mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
sw/src/game.cpp:RunLevel: Call faketimerhandler in a loop, based on code
from EDuke32-OldMP. Main difference from EDuke32-OldMP is that this is done even while staying in the menu; Behaviors will otherwise break. We should also call timerUpdateClock() before the loop, especially after removing the call to this function from faketimerhandler soon.
This commit is contained in:
parent
25b5d69cab
commit
6daf42a959
1 changed files with 4 additions and 0 deletions
|
@ -2599,6 +2599,10 @@ void RunLevel(void)
|
|||
ExitLevel = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
timerUpdateClock();
|
||||
while (ready2send && (totalclock >= ototalclock + synctics))
|
||||
faketimerhandler();
|
||||
}
|
||||
|
||||
ready2send = 0;
|
||||
|
|
Loading…
Reference in a new issue