From a38d0f57bf74038a414d53bb86320f9b2a3b8939 Mon Sep 17 00:00:00 2001 From: deveee Date: Mon, 9 Sep 2013 20:37:24 +0000 Subject: [PATCH] Update rain while explosion animation. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13655 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/camera.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index bbd22fe25..f02f842f0 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -485,10 +485,9 @@ void Camera::update(float dt) current_target += ((wanted_target-current_target)*m_target_speed)*dt; m_camera->setTarget(current_target); - return; } - - positionCamera(dt, above_kart, cam_angle, side_way, distance, smoothing); + else + positionCamera(dt, above_kart, cam_angle, side_way, distance, smoothing); if (UserConfigParams::m_graphical_effects) {