Switch win/lose animation off when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -253,7 +253,7 @@ void KartModel::setAnimation(AnimationFrameType type)
|
||||
if(!UserConfigParams::m_show_steering_animations) return;
|
||||
|
||||
m_current_animation = type;
|
||||
if(!m_current_animation==AF_DEFAULT)
|
||||
if(m_current_animation==AF_DEFAULT)
|
||||
{
|
||||
m_animated_node->setLoopMode(false);
|
||||
m_animated_node->setFrameLoop(m_animation_frame[AF_STRAIGHT],
|
||||
|
||||
Reference in New Issue
Block a user