mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-21 07:22:33 +00:00
Adjust caption pop-in by tics instead of frames
Fixes STJr/SRB2#900 pop-in animation being affected by framerate
This commit is contained in:
parent
915bf83172
commit
23f9d8e924
1 changed files with 7 additions and 1 deletions
|
|
@ -675,7 +675,13 @@ void SCR_ClosedCaptions(void)
|
||||||
y = basey-((i + 2)*10);
|
y = basey-((i + 2)*10);
|
||||||
|
|
||||||
if (closedcaptions[i].b)
|
if (closedcaptions[i].b)
|
||||||
y -= (closedcaptions[i].b--)*vid.dupy;
|
{
|
||||||
|
y -= closedcaptions[i].b * vid.dupy;
|
||||||
|
if (renderisnewtic)
|
||||||
|
{
|
||||||
|
closedcaptions[i].b--;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (closedcaptions[i].t < CAPTIONFADETICS)
|
if (closedcaptions[i].t < CAPTIONFADETICS)
|
||||||
flags |= (((CAPTIONFADETICS-closedcaptions[i].t)/2)*V_10TRANS);
|
flags |= (((CAPTIONFADETICS-closedcaptions[i].t)/2)*V_10TRANS);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue