mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Fix overshoot on credit text rendering
This commit is contained in:
parent
71ce173a0d
commit
e74a819b68
1 changed files with 3 additions and 3 deletions
|
@ -1281,6 +1281,9 @@ void F_CreditDrawer(void)
|
||||||
UINT8 colornum;
|
UINT8 colornum;
|
||||||
const UINT8 *colormap;
|
const UINT8 *colormap;
|
||||||
|
|
||||||
|
// compensation for y on non-green resolutions, used to prevent text from disappearing before reaching the top
|
||||||
|
UINT16 compy = (vid.height - (BASEVIDHEIGHT * vid.dup)) / 2;
|
||||||
|
|
||||||
if (players[consoleplayer].skincolor)
|
if (players[consoleplayer].skincolor)
|
||||||
colornum = players[consoleplayer].skincolor;
|
colornum = players[consoleplayer].skincolor;
|
||||||
else
|
else
|
||||||
|
@ -1303,9 +1306,6 @@ void F_CreditDrawer(void)
|
||||||
// Dim the background
|
// Dim the background
|
||||||
V_DrawFadeScreen(0xFF00, 16);
|
V_DrawFadeScreen(0xFF00, 16);
|
||||||
|
|
||||||
// compensation for y on non-green resolutions, used to prevent text from disappearing before reaching the top
|
|
||||||
int compy = vid.height - BASEVIDHEIGHT;
|
|
||||||
|
|
||||||
// Draw credits text on top
|
// Draw credits text on top
|
||||||
for (i = 0; credits[i]; i++)
|
for (i = 0; credits[i]; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue