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

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