This commit is contained in:
parent
90635c07df
commit
9e9eabcaaf
@ -731,7 +731,7 @@ void CNpcEnemy::processGraphicFlipping()
|
||||
|
||||
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 );
|
||||
|
||||
s32 frameShift = ( _frames << 8 ) >> 1;
|
||||
s32 frameShift = _frames << 8;
|
||||
|
||||
if ( ( frameCount << 8 ) - m_frame > frameShift )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user