Minor tweaks

This commit is contained in:
Ray
2024-07-01 13:05:20 +02:00
parent c8313d9ebc
commit 61cfd1afcb
2 changed files with 3 additions and 3 deletions

View File

@@ -337,7 +337,7 @@ void DrawCircleSector(Vector2 center, float radius, float startAngle, float endA
}
// NOTE: In case number of segments is odd, we add one last piece to the cake
if (((unsigned int)segments%2) == 1)
if ((((unsigned int)segments)%2) == 1)
{
rlColor4ub(color.r, color.g, color.b, color.a);