Skip to content

Commit 4aee7eb

Browse files
committed
GoL - Small fix
Remove redundant check
1 parent e8e784d commit 4aee7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5316,7 +5316,7 @@ uint16_t mode_2Dgameoflife(void) { // Written by Ewoud Wijma, inspired by https:
53165316
SEGMENT.setPixelColorXY(x,y, dominantColor);
53175317
}
53185318
else { // blur dead cells
5319-
if (!cellValue && !overlayBG && !bgBlendMode) SEGMENT.setPixelColorXY(x,y, color_blend(SEGMENT.getPixelColorXY(x,y), bgColor, bgBlendMode ? bgBlur : blur));
5319+
if (!cellValue && !overlayBG && !bgBlendMode) SEGMENT.setPixelColorXY(x,y, color_blend(SEGMENT.getPixelColorXY(x,y), bgColor, blur));
53205320
}
53215321
}
53225322
//update cell values

0 commit comments

Comments
 (0)