summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ball.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ball.c b/src/ball.c
index 7f8aa3d..99415cc 100644
--- a/src/ball.c
+++ b/src/ball.c
@@ -132,6 +132,7 @@ db_balls_collisions(struct db_ball *ball)
line_x2, line_y2,
&col_x, &col_y)){
_db_ball_bounce(ball, col_x, col_y);
+ break;
}
}
}