Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Oct 28, 2024
1 parent b48bc16 commit 0d935bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hu_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ static void HU_DrawHUD(void)
int armor = MIN(viewplayer->armor, HUD_NUMBER_MAX);
static bool healthanim;
const bool gamepaused = (consoleactive || paused || freeze);
byte *tinttab = (health >= HUD_HEALTH_MIN || (health < HUD_HEALTH_MIN && healthanim) || health <= 0
byte *tinttab = (health >= HUD_HEALTH_MIN || healthanim || health <= 0
|| (viewplayer->cheats & CF_BUDDHA) || gamepaused ? tinttab80 : tinttab25);
patch_t *patch = faces[st_faceindex];
const uint64_t currenttime = I_GetTimeMS();
Expand Down
3 changes: 1 addition & 2 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4363,8 +4363,7 @@ void M_Drawer(void)
M_DrawPatchWithShadow(x - 26, yy, skullpatch, true);
}

for (int i = 0; i < MAXSCREENAREA; i++)
tempscreen[i] = PINK;
memset(tempscreen, PINK, MAXSCREENAREA);

for (int i = 0; i < max; i++)
{
Expand Down

0 comments on commit 0d935bc

Please sign in to comment.