This commit is contained in:
Charles 2001-07-27 13:31:52 +00:00
parent 3a05eb9884
commit 035d72263d
20 changed files with 44 additions and 39 deletions

View file

@ -92,7 +92,7 @@ void CNpcSkeletalFishEnemy::processClose( int _frames )
m_chargeTime += _frames;
}
s16 headingToPlayer = ratan2( playerYDist, playerXDist );
s16 headingToPlayer = ratan2( playerYDist, playerXDist ) & 4095;
if ( !m_animPlaying )
{