This commit is contained in:
parent
90635c07df
commit
9e9eabcaaf
2 changed files with 2 additions and 2 deletions
|
@ -731,7 +731,7 @@ void CNpcEnemy::processGraphicFlipping()
|
||||||
|
|
||||||
s32 CNpcEnemy::getFrameShift( int _frames )
|
s32 CNpcEnemy::getFrameShift( int _frames )
|
||||||
{
|
{
|
||||||
return( _frames << 8 );
|
return( ( _frames << 8 ) >> 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -244,7 +244,7 @@ void CNpcFriend::think(int _frames)
|
||||||
|
|
||||||
frameCount = m_actorGfx->getFrameCount( m_animNo );
|
frameCount = m_actorGfx->getFrameCount( m_animNo );
|
||||||
|
|
||||||
s32 frameShift = ( _frames << 8 ) >> 1;
|
s32 frameShift = _frames << 8;
|
||||||
|
|
||||||
if ( ( frameCount << 8 ) - m_frame > frameShift )
|
if ( ( frameCount << 8 ) - m_frame > frameShift )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue