about summary refs log tree commit diff stats
path: root/src/ball.c
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-01 20:21:10 -0400
committerCharadon <dev@iotib.net>2022-06-01 20:21:10 -0400
commit3f0c12dbea2cc070888f0db9102c12d0af6f2e90 (patch)
tree6857274c7a7df90c348e6763bd5fd4910bfdb809 /src/ball.c
parent01a21af4c041c6f3133b4202ca35c156ffb00f32 (diff)
downloadPong-C-3f0c12dbea2cc070888f0db9102c12d0af6f2e90.tar.gz
Flatpak support
Diffstat (limited to 'src/ball.c')
-rw-r--r--src/ball.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ball.c b/src/ball.c
index 7a9e7cb..95cc0c5 100644
--- a/src/ball.c
+++ b/src/ball.c
@@ -24,7 +24,7 @@ void ball(Rectangle *Player, Rectangle *Enemy, struct Balls *Ball, int *PlayerSc
         if (Ball->Speed != 40) {
 		    Ball->Angle = GetRandomValue(-10, 10);
         } else {
-            Ball->Angle = GetRandomValue(-20, 20);
+            Ball->Angle = GetRandomValue(-30, 30);
         }
         play_audio(0);
 	}
@@ -65,4 +65,4 @@ void ball(Rectangle *Player, Rectangle *Enemy, struct Balls *Ball, int *PlayerSc
 	}
 
 	return;
-}
\ No newline at end of file
+}