This commit is contained in:
Charles 2001-04-05 14:17:24 +00:00
parent 7aa1ed3944
commit b08c0884df
4 changed files with 7 additions and 18 deletions

View file

@ -190,7 +190,7 @@ void CNpcEnemy::processCloseAnemone2Attack( int _frames )
DVECTOR spikePos;
heading = m_heading - 1024 + ( fireLoop * 512 );
heading %= 4096;
heading &= 4095;
spikePos = Pos;
spikePos.vx += ( 10 * rcos( heading ) ) >> 12;