- fixing some issues. Level transitions in Duke are working now.

This commit is contained in:
Christoph Oelckers 2020-09-04 00:20:32 +02:00
parent e5e8c02f1d
commit 77f96a1c75
5 changed files with 17 additions and 9 deletions

View file

@ -415,8 +415,8 @@ class ScreenJobRunner
int index = -1;
float screenfade;
bool clearbefore;
uint64_t startTime = -1;
uint64_t lastTime = -1;
int64_t startTime = -1;
int64_t lastTime = -1;
int actionState;
int terminateState;
@ -474,7 +474,7 @@ public:
auto now = I_nsTime();
bool processed = job.job->ProcessInput();
bool skiprequest = inputState.CheckAllInput() && !processed;
if (startTime == -1) startTime = now;
if (startTime == -1) lastTime = startTime = now;
if (M_Active())
{