This commit is contained in:
Charles 2001-01-25 20:12:19 +00:00
parent de136cdcf9
commit b0d045bdf0

View file

@ -110,6 +110,14 @@ void CNpc::processStandardIronDogfishAttack( int _frames )
{
// fire at user
s32 yDist = playerPos.vy - Pos.vy;
s16 headingToPlayer = ratan2( yDist, xDist );
CProjectile *projectile;
projectile = new( "test projectile" ) CProjectile;
projectile->init( Pos, headingToPlayer );
m_state++;
if ( m_state > IRON_DOGFISH_LASER_EYE_2 )