This commit is contained in:
parent
c6eb452190
commit
3502a69174
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ void CNpcSmallJellyfishEnemy::processMovementModifier( int _frames, s32 distX, s
|
||||||
dataPoint /= ( GameState::getOneSecondInFrames() >> 1 );
|
dataPoint /= ( GameState::getOneSecondInFrames() >> 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_frame = ( ( m_movementTimer * ( getFrameCount() - 1 ) << 8 ) ) / GameState::getOneSecondInFrames();
|
m_frame = ( ( m_movementTimer * ( getFrameCount() - 1 ) << 8 ) ) / ( GameState::getOneSecondInFrames() >> 1 );
|
||||||
|
|
||||||
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