From 21dccd8e5b0c3c30ed37f4af94fcbd638f838166 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Wed, 15 Feb 2023 15:44:06 +0100 Subject: [PATCH] correctly initialize w_secret's y coordinate --- src/hu_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 74fb5c00..0374d56a 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -564,7 +564,7 @@ void HU_Start(void) HU_FONTSTART, colrngs[hudcolor_mesg], &message_on); // create the secret message widget - HUlib_initSText(&w_secret, 0, (ORIGHEIGHT-ST_HEIGHT)/2, HU_MSGHEIGHT, &hu_font, + HUlib_initSText(&w_secret, 0, 100 - 2*SHORT(hu_font[0]->height), HU_MSGHEIGHT, &hu_font, HU_FONTSTART, colrngs[CR_GOLD], &secret_on); //jff 2/26/98 add the text refresh widget initialization