summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 280b16c..89422ba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -108,6 +108,7 @@ int main() {
 
 	// Init Player Variables
 	struct Players Player;
+	Player.Y = 0;
 	Player.Score = 0;
 	char PlayerScore[50]; // Used later to display score on screen.
 
@@ -136,9 +137,6 @@ int main() {
 	Ball.HitBox = (Rectangle){Ball.X, Ball.Y, BallSprite.width, BallSprite.height};
 	Enemy.BallDetector = (Rectangle){0, Enemy.Y+120, 1280, PaddleSprite.height/5.0f};
 
-	// Debug
-	Player.Y = 200;
-
 	// Initialize Internal Clock
 	thrd_t InternalClock;
 	thrd_create(&InternalClock, internal_clock, NULL);