This commit is contained in:
parent
a1bf80bc35
commit
6a94ade948
4 changed files with 12 additions and 7 deletions
|
@ -223,7 +223,7 @@ void CNpcSmallJellyfishEnemy::processMovementModifier( int _frames, s32 distX, s
|
|||
dataPoint /= GameState::getOneSecondInFrames();
|
||||
}
|
||||
|
||||
m_frame = ( ( m_movementTimer * ( m_actorGfx->getFrameCount(m_animNo) - 1 ) << 8 ) ) / GameState::getOneSecondInFrames();
|
||||
m_frame = ( ( m_movementTimer * ( getFrameCount() - 1 ) << 8 ) ) / GameState::getOneSecondInFrames();
|
||||
|
||||
s32 resistance;
|
||||
s32 absVelocity = abs( m_velocity );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue