- 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:
Christoph Oelckers 2020-08-31 00:33:41 +02:00
parent 34104a74d8
commit 03aad6559b
17 changed files with 96 additions and 102 deletions

View file

@ -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;
}