This commit is contained in:
Charles 2001-07-19 14:31:37 +00:00
parent 90635c07df
commit 9e9eabcaaf
2 changed files with 2 additions and 2 deletions

View File

@ -731,7 +731,7 @@ void CNpcEnemy::processGraphicFlipping()
s32 CNpcEnemy::getFrameShift( int _frames ) s32 CNpcEnemy::getFrameShift( int _frames )
{ {
return( _frames << 8 ); return( ( _frames << 8 ) >> 1 );
} }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -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 )
{ {