This commit is contained in:
parent
8afe90e6d4
commit
52c69c25b8
11 changed files with 64 additions and 31 deletions
|
@ -225,7 +225,7 @@ void CNpcEnemy::processCloseSmallJellyfishEvade( int _frames )
|
|||
|
||||
m_heading += moveDist;
|
||||
|
||||
m_heading = m_heading % ONE;
|
||||
m_heading &= 4095;
|
||||
|
||||
moveX = ( _frames * 3 * rcos( m_heading ) ) >> 12;
|
||||
moveY = ( _frames * 3 * rsin( m_heading ) ) >> 12;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue