This commit is contained in:
parent
a01e904fab
commit
fc4b2497ea
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue