fix bottom-aligned widgets being drawn one pixel too high

Fixes #1528
This commit is contained in:
Fabian Greffrath 2024-02-22 17:51:26 +01:00
parent 46870f5b98
commit 697151cdb9

View File

@ -65,7 +65,7 @@ static int align_offset[num_offsets];
void HUlib_reset_align_offsets (void)
{
int bottom = SCREENHEIGHT - 1;
int bottom = SCREENHEIGHT;
if (scaledviewheight < SCREENHEIGHT ||
draw_crispy_hud ||