This commit is contained in:
parent
420a0a89b2
commit
efd5c7ab6b
8 changed files with 70 additions and 4 deletions
|
@ -213,7 +213,7 @@ void CNpcIronDogfishEnemy::processStandardIronDogfishAttack( int _frames )
|
|||
{
|
||||
// fire at user
|
||||
|
||||
s16 headingToPlayer = ratan2( playerYDist, playerXDist );
|
||||
s16 headingToPlayer = ratan2( playerYDist, playerXDist ) & 4095;
|
||||
|
||||
CProjectile *projectile;
|
||||
projectile = new( "test projectile" ) CProjectile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue