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:
hikerstk
2010-06-29 22:58:20 +00:00
parent 28f2b3742d
commit e646b2e443

View File

@@ -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],