- clear the input state before starting a cutscene to ensure that it won't get skipped by residual input data.

This commit is contained in:
Christoph Oelckers 2020-07-26 19:55:06 +02:00
parent 8af4cfd772
commit 102f473821

View file

@ -331,6 +331,7 @@ public:
actionState = clearbefore ? State_Clear : State_Run;
if (index < jobs.Size()) screenfade = jobs[index].job->fadestyle & DScreenJob::fadein ? 0.f : 1.f;
startTime = -1;
inputState.ClearAllInput();
}
int DisplayFrame()