diff --git a/source/enemy/npc.cpp b/source/enemy/npc.cpp index 27a6364d3..dff51fa64 100644 --- a/source/enemy/npc.cpp +++ b/source/enemy/npc.cpp @@ -731,7 +731,7 @@ void CNpcEnemy::processGraphicFlipping() s32 CNpcEnemy::getFrameShift( int _frames ) { - return( _frames << 8 ); + return( ( _frames << 8 ) >> 1 ); } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/source/friend/friend.cpp b/source/friend/friend.cpp index 188eacfc6..9defa909c 100644 --- a/source/friend/friend.cpp +++ b/source/friend/friend.cpp @@ -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 ) {