mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +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;
|
ExitLevel = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
timerUpdateClock();
|
||||||
|
while (ready2send && (totalclock >= ototalclock + synctics))
|
||||||
|
faketimerhandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
ready2send = 0;
|
ready2send = 0;
|
||||||
|
|
Loading…
Reference in a new issue