initialize the monsec widget's y coordinate with dummy values

Fixes #658
This commit is contained in:
Fabian Greffrath 2022-07-13 17:51:38 +02:00
parent 50c72d592e
commit 108467e3c8

View File

@ -627,9 +627,7 @@ void HU_Start(void)
// create the hud monster/secret widget
// 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,
HUlib_initTextLine(&w_monsec, 0, 0, hu_font2,
HU_FONTSTART, colrngs[CR_GRAY]);
// create the hud text refresh widget