Bläddra i källkod

Update ScreenTransitionCircle.c

Rudy Boudewijn van Etten 4 år sedan
förälder
incheckning
0ff7cf72e0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      effects/ScreenTransitionCircle.c

+ 1 - 1
effects/ScreenTransitionCircle.c

@@ -88,7 +88,7 @@ void circletransition(int radius, int screenWidth, int screenHeight,Color col){
         DrawLine(0,a,screenWidth,a,col);
         DrawLine(0,a,screenWidth,a,col);
     }        
     }        
     circleBres(cx,cy, radius,screenWidth,screenHeight,BLACK);
     circleBres(cx,cy, radius,screenWidth,screenHeight,BLACK);
-    for(int a=cy+radius;a<screenHeight;a++){
+    for(int a=cy+radius;a<=screenHeight;a++){
         DrawLine(0,a,screenWidth,a,col);
         DrawLine(0,a,screenWidth,a,col);
     }
     }