minor style

This commit is contained in:
Christian Semmler 2024-03-19 10:16:31 -04:00
parent 1f96209105
commit 4f298dffcf

View File

@ -98,8 +98,9 @@ void LegoBackgroundColor::ToggleDayNight(MxBool p_sun)
void LegoBackgroundColor::ToggleSkyColor() void LegoBackgroundColor::ToggleSkyColor()
{ {
char buffer[30]; char buffer[30];
m_h += 0.05; m_h += 0.05;
if (1.0 < m_h) { if (m_h > 1.0) {
m_h -= 1.0; m_h -= 1.0;
} }