mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-02 06:23:03 +00:00
Tiny caption loop optimisation
This commit is contained in:
parent
cec5338f7c
commit
36e20ac619
1 changed files with 2 additions and 2 deletions
|
@ -552,7 +552,7 @@ void SCR_ClosedCaptions(void)
|
|||
{
|
||||
UINT8 i;
|
||||
boolean gamestopped = (paused || P_AutoPause());
|
||||
INT32 basey = BASEVIDHEIGHT;
|
||||
INT32 basey = BASEVIDHEIGHT - 20;
|
||||
|
||||
if (gamestate != wipegamestate)
|
||||
return;
|
||||
|
@ -585,7 +585,7 @@ void SCR_ClosedCaptions(void)
|
|||
continue;
|
||||
|
||||
flags = V_SNAPTORIGHT|V_SNAPTOBOTTOM|V_ALLOWLOWERCASE;
|
||||
y = basey-((i + 2)*10);
|
||||
y = basey-(i*10);
|
||||
|
||||
if (closedcaptions[i].b)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue