mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 04:51:43 +00:00
NiGHTS Attack menu: Let patch offsets control the alignment of the top border.
This commit is contained in:
parent
06c441703f
commit
6b4a86d31b
1 changed files with 3 additions and 1 deletions
|
|
@ -5261,7 +5261,9 @@ static void M_DrawNightsAttackBackground(void)
|
|||
if (border_height > 0)
|
||||
{
|
||||
// top border
|
||||
y = border_height - ((topborderheight-5) * vid.dupy);
|
||||
INT16 yoffset = SHORT(topborder->topoffset);
|
||||
y = border_height - ((topborderheight - yoffset) * vid.dupy);
|
||||
y += (yoffset * dupy);
|
||||
for (i = 0; i < (vid.height/border_height) + 1; i++)
|
||||
{
|
||||
for (j = 0; j < (vid.width/topborderwidth); j++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue