This commit is contained in:
parent
9952b7fe92
commit
17dae1a5a3
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ bool CProjectile::processTargetSeek( int _frames, DVECTOR targetPos )
|
||||||
|
|
||||||
m_heading += moveDist;
|
m_heading += moveDist;
|
||||||
|
|
||||||
m_heading = m_heading % ONE;
|
m_heading &= 4095;
|
||||||
|
|
||||||
s32 preShiftX = _frames * 3 * rcos( m_heading );
|
s32 preShiftX = _frames * 3 * rcos( m_heading );
|
||||||
s32 preShiftY = _frames * 3 * rsin( m_heading );
|
s32 preShiftY = _frames * 3 * rsin( m_heading );
|
||||||
|
|
Loading…
Add table
Reference in a new issue