From fa899ac25dc9ecea0f394274966bd32887b7590c Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Fri, 8 Apr 2022 11:10:14 +0200 Subject: [PATCH] properly initialize the monsec widget's y coordinate Fixes #502 --- Source/hu_stuff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/hu_stuff.c b/Source/hu_stuff.c index 61f77e1f..caee38b8 100644 --- a/Source/hu_stuff.c +++ b/Source/hu_stuff.c @@ -558,6 +558,7 @@ void HU_Start(void) // totals and current values for kills, items, secrets // lower left of screen HUlib_initTextLine(&w_monsec, hud_distributed ? HU_MONSECX_D : HU_MONSECX, + (scaledviewheight < SCREENHEIGHT || crispy_hud) ? (ST_Y - HU_GAPY) : hud_distributed? HU_MONSECY_D : HU_MONSECY, hu_font2, HU_FONTSTART, colrngs[CR_GRAY]);