Prevent 2-frame HOM during the intro

This commit is contained in:
Lactozilla 2023-12-27 18:24:44 -03:00
parent 96d246e6ae
commit a66d5751e7

View file

@ -623,11 +623,11 @@ void F_IntroDrawer(void)
V_DrawScaledPatch(bgxoffs, 0, 0, background);
}
else if (intro_scenenum == 0) // STJr presents
{
if (intro_curtime > 1 && intro_curtime < (INT32)introscenetime[intro_scenenum])
{
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
if (intro_curtime > 1 && intro_curtime < (INT32)introscenetime[intro_scenenum])
{
if (intro_curtime < TICRATE-5) // Make the text shine!
{
sprintf(stjrintro, "STJRI%03u", intro_curtime-1);