Fix title card not showing up at all if focus lost

This commit is contained in:
Jaime Passos 2020-01-26 23:50:36 -03:00
parent cf7b4d826a
commit 1774ba22b6
1 changed files with 3 additions and 1 deletions

View File

@ -1278,13 +1278,15 @@ void ST_preDrawTitleCard(void)
//
void ST_runTitleCard(void)
{
boolean run = !(paused || P_AutoPause());
if (!G_IsTitleCardAvailable())
return;
if (lt_ticker >= (lt_endtime + TICRATE))
return;
if (!(paused || P_AutoPause()))
if (run || (lt_ticker < PRELEVELTIME))
{
// tick
lt_ticker++;