diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ball.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ db_balls_collisions(struct db_ball *ball) int col_x; int col_y; - for (; other != NULL; other = other->next) { + for (other = ball->next; other != NULL; other = other->next) { if (db_col_pt_cir_cir(ball->x, ball->y, ball->r, other->x, other->y, other->r, &col_x, &col_y)) { |