This commit is contained in:
Charles 2001-04-04 13:50:21 +00:00
parent a01e904fab
commit fc4b2497ea

View file

@ -48,7 +48,7 @@ void CNpcEnemy::processSmallJellyfishMovementModifier( int _frames, s32 distX, s
dataPoint /= GameState::getOneSecondInFrames(); dataPoint /= GameState::getOneSecondInFrames();
} }
m_frame = ( m_movementTimer * m_actorGfx->getFrameCount(m_animNo) ) / GameState::getOneSecondInFrames(); m_frame = ( m_movementTimer * ( m_actorGfx->getFrameCount(m_animNo) - 1 ) ) / GameState::getOneSecondInFrames();
s32 resistance; s32 resistance;
s32 absVelocity = abs( m_velocity ); s32 absVelocity = abs( m_velocity );