Change y coordinate of Song Credit on intermission screen to be along bottom

This commit is contained in:
toaster 2023-05-09 19:11:57 +01:00
parent 0c63b76364
commit d7e0df8bd8

View file

@ -2131,17 +2131,24 @@ static void HU_DrawDemoInfo(void)
//
void HU_DrawSongCredits(void)
{
fixed_t x;
fixed_t y = (r_splitscreen ? (BASEVIDHEIGHT/2)-4 : 32) * FRACUNIT;
INT32 bgt;
if (!cursongcredit.def || cursongcredit.trans >= NUMTRANSMAPS) // No def
{
return;
}
bgt = (NUMTRANSMAPS/2) + (cursongcredit.trans / 2);
x = R_InterpolateFixed(cursongcredit.old_x, cursongcredit.x);
fixed_t x = R_InterpolateFixed(cursongcredit.old_x, cursongcredit.x);
fixed_t y;
if (gamestate == GS_INTERMISSION)
{
y = (BASEVIDHEIGHT - 13) * FRACUNIT;
}
else
{
y = (r_splitscreen ? (BASEVIDHEIGHT/2)-4 : 32) * FRACUNIT;
}
INT32 bgt = (NUMTRANSMAPS/2) + (cursongcredit.trans / 2);
if (bgt < NUMTRANSMAPS)
{