mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- added a global leveltimer variable to Duke.
This timer only gets incremented by the main game ticker when the playsim is running. This timer gets used for all playsim-related timing and animations so that these are decoupled from imprecisions in the global timer.
This commit is contained in:
parent
34104a74d8
commit
03aad6559b
17 changed files with 96 additions and 102 deletions
|
@ -218,7 +218,7 @@ static void GameTicker()
|
|||
|
||||
void Display()
|
||||
{
|
||||
if (screen == nullptr || !AppActive && (screen->IsFullscreen() || !vid_activeinbackground))
|
||||
if (screen == nullptr || (!AppActive && (screen->IsFullscreen() || !vid_activeinbackground)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue