Skip to content
Snippets Groups Projects
Commit b02707a4 authored by Eidolon's avatar Eidolon
Browse files

Adjust caption pop-in by tics instead of frames

Fixes STJr/SRB2#900 pop-in animation being affected by framerate
parent add018cb
No related branches found
No related tags found
1 merge request!1923Minor interpolation fixes
......@@ -621,7 +621,13 @@ void SCR_ClosedCaptions(void)
y = basey-((i + 2)*10);
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)
flags |= (((CAPTIONFADETICS-closedcaptions[i].t)/2)*V_10TRANS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment