diff options
Diffstat (limited to 'kolf/ball.cpp')
-rw-r--r-- | kolf/ball.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kolf/ball.cpp b/kolf/ball.cpp index 0e25422b..7235edf3 100644 --- a/kolf/ball.cpp +++ b/kolf/ball.cpp @@ -249,7 +249,7 @@ void Ball::collisionDetect(double oldx, double oldy) m_collisionLock = true; // move this ball to where it was barely touching double ballAngle = m_vector.direction(); - while (collisions(true).tqcontains(item) > 0) + while (collisions(true).contains(item) > 0) move(x() - cos(ballAngle) / 2.0, y() + sin(ballAngle) / 2.0); // make a 2 pixel separation |