Skip to content

Commit ab34b35

Browse files
fix the bright bool
1 parent 17b6b48 commit ab34b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpriteColors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,5 @@ ALLEGRO_COLOR blinkTechnicolor()
308308
ALLEGRO_COLOR uiColor(int32_t index, bool bright)
309309
{
310310
auto& ssConfig = stonesenseState.ssConfig;
311-
return ssConfig.config.colors.getDfColor(index, (bright && 1), ssConfig.config.useDfColors);
311+
return ssConfig.config.colors.getDfColor(index, (bright ? 1:0), ssConfig.config.useDfColors);
312312
}

0 commit comments

Comments
 (0)