fix minor clang error

This commit is contained in:
german 2020-11-10 10:38:15 -06:00
parent 70df449d0a
commit f5110340e6

View File

@ -46,7 +46,7 @@ public:
angle += TAU;
}
} else if ((angle >= bottom_limit && angle < to_angle) ||
(angle - TAU >= bottom_limit && angle - TAU < to_angle)) {
(angle - TAU >= bottom_limit && angle - TAU < to_angle)) {
angle += modifier_angle;
if (angle >= TAU) {
angle -= TAU;