check for Crispy HUD being actually drawn

This commit is contained in:
Fabian Greffrath 2024-01-16 08:12:17 +01:00
parent b05273d319
commit 083825d282
3 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ void HUlib_reset_align_offsets (void)
int bottom = SCREENHEIGHT - 1;
if (scaledviewheight < SCREENHEIGHT ||
(hud_displayed && crispy_hud && hud_active > 0) ||
draw_crispy_hud ||
automap_on)
{
bottom -= 32; // ST_HEIGHT

View File

@ -51,7 +51,7 @@ int hud_draw_bargraphs;
int hud_threelined_widgets;
int crispy_hud; // Crispy HUD
static boolean draw_crispy_hud;
boolean draw_crispy_hud;
//
// Locally used constants, shortcuts.

View File

@ -74,6 +74,7 @@ extern boolean message_colorized; // colorize player messages
extern int playback_tic, playback_totaltics;
extern int crispy_hud;
extern boolean draw_crispy_hud;
extern int hud_crosshair;
extern boolean hud_crosshair_health;