Skip to content

Commit

Permalink
Fix Clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Feb 26, 2025
1 parent d9f7f78 commit 6623cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r_things.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ static void R_DrawVisSpriteWithShadow(const vissprite_t *vis)
shadowshift = (shadowtopscreen * 9 / 10) >> FRACBITS;
fuzz1pos = 0;

if (percolumnlighting = (r_percolumnlighting && !vis->fullbright && !fixedcolormap))
if ((percolumnlighting = (r_percolumnlighting && !vis->fullbright && !fixedcolormap)))
{
const int angle = (viewangle - ANG90) >> ANGLETOFINESHIFT;

Expand Down

0 comments on commit 6623cb6

Please sign in to comment.