mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 17:30:51 +00:00
- skip the fade-in of the screen job if it starts while the game is paused.
While this works with the current code it simply does not look good.
This commit is contained in:
parent
03d517c509
commit
3910146740
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ public:
|
||||||
actionState = clearbefore ? State_Clear : State_Run;
|
actionState = clearbefore ? State_Clear : State_Run;
|
||||||
if (index < jobs.Size())
|
if (index < jobs.Size())
|
||||||
{
|
{
|
||||||
jobs[index].job->fadestate = jobs[index].job->fadestyle & DScreenJob::fadein? DScreenJob::fadein : DScreenJob::visible;
|
jobs[index].job->fadestate = !paused && jobs[index].job->fadestyle & DScreenJob::fadein? DScreenJob::fadein : DScreenJob::visible;
|
||||||
}
|
}
|
||||||
inputState.ClearAllInput();
|
inputState.ClearAllInput();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue