(maybe it is a mistake) revert karts animations

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
xapantu 2010-05-10 15:41:10 +00:00
parent 807274dc9f
commit 98fd248d5e

View File

@ -312,10 +312,10 @@ void KartModel::update(float rotation, float visual_steer,
static int last_end=-1;
if(steer>0.0f) end = m_animation_frame[AF_STRAIGHT]
- (int)( ( m_animation_frame[AF_STRAIGHT]
-m_animation_frame[AF_LEFT] )*steer);
-m_animation_frame[AF_RIGHT] )*steer);
else if(steer<0.0f) end = m_animation_frame[AF_STRAIGHT]
+ (int) ( (m_animation_frame[AF_STRAIGHT]
-m_animation_frame[AF_RIGHT] )*steer);
-m_animation_frame[AF_LEFT] )*steer);
else end = m_animation_frame[AF_STRAIGHT];
// No changes to current frame loop