Skip to content

Commit

Permalink
Fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
JNechaevsky committed Nov 27, 2024
1 parent 8c05ab4 commit a777caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hexen/sb_bar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ void SB_SmoothPaletteFlash (boolean forceChange)
else if (CPlayer->graycount)
{
// [PN/JN] A11Y - Palette flash effects.
// Adjust holy pal alpha based on accessibility setting.
// Adjust gray palette alpha based on accessibility setting.
const int max_gray = (a11y_pal_flash == 3) ? 0 :
CPlayer->graycount >> ((a11y_pal_flash == 1) ? 1 :
(a11y_pal_flash == 2) ? 2 : 0);
Expand All @@ -1384,7 +1384,7 @@ void SB_SmoothPaletteFlash (boolean forceChange)
else if (CPlayer->orngcount)
{
// [PN/JN] A11Y - Palette flash effects.
// Adjust holy pal alpha based on accessibility setting.
// Adjust orange palette alpha based on accessibility setting.
const int max_orng = (a11y_pal_flash == 3) ? 0 :
CPlayer->orngcount >> ((a11y_pal_flash == 1) ? 1 :
(a11y_pal_flash == 2) ? 2 : 0);
Expand Down

0 comments on commit a777caa

Please sign in to comment.