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
This commit is contained in:
parent
25eded2f4d
commit
a38d0f57bf
@ -485,9 +485,8 @@ void Camera::update(float dt)
|
|||||||
current_target += ((wanted_target-current_target)*m_target_speed)*dt;
|
current_target += ((wanted_target-current_target)*m_target_speed)*dt;
|
||||||
|
|
||||||
m_camera->setTarget(current_target);
|
m_camera->setTarget(current_target);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
positionCamera(dt, above_kart, cam_angle, side_way, distance, smoothing);
|
positionCamera(dt, above_kart, cam_angle, side_way, distance, smoothing);
|
||||||
|
|
||||||
if (UserConfigParams::m_graphical_effects)
|
if (UserConfigParams::m_graphical_effects)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user