From 587dc8334f80412594ad99aa4599b6a31a2f2c95 Mon Sep 17 00:00:00 2001 From: fdai8040 Date: Wed, 31 Jan 2024 15:51:37 +0000 Subject: [PATCH] Ball anzeigen (vergessen) --- src/main/c/Pong/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/c/Pong/game.c b/src/main/c/Pong/game.c index 71b56a2..eee78dc 100644 --- a/src/main/c/Pong/game.c +++ b/src/main/c/Pong/game.c @@ -138,7 +138,7 @@ int main(){ ball.speedX = -ball.speedX; } - draw Field(paddle1PositionY, paddle2PositionY,score1, score2); + draw Field(paddle1PositionY, paddle2PositionY, ball, score1, score2); // Spielende überprüfen if (score1 == maxScore || score2 == maxScore) {