diff --git a/core/src/com/me/brickbuster/entity/Ball.java b/core/src/com/me/brickbuster/entity/Ball.java index fad8bed..9ea847c 100644 --- a/core/src/com/me/brickbuster/entity/Ball.java +++ b/core/src/com/me/brickbuster/entity/Ball.java @@ -61,8 +61,9 @@ public class Ball extends Entity { Vector2 nearest = Utils.nearestPoint(v1.cpy(), segment, new_pos.cpy()); if (nearest.dst(new_pos.x, new_pos.y) <= RADIUS) { - brickIterator.remove(); - brick.hit(); + if (brick.hit()) { + brickIterator.remove(); + } Utils.reflect(direction, segment.nor()); brickCollision = true; break;