This commit is contained in:
parent
4c93823479
commit
f701f34dc4
25 changed files with 264 additions and 276 deletions
|
@ -60,7 +60,7 @@ void CNpcEyeballEnemy::postInit()
|
|||
eyeballPos.vy += ( EYEBALL_DIST * rsin( m_heading ) ) >> 12;
|
||||
|
||||
CProjectile *projectile;
|
||||
projectile = new ( "eyeball projectile" ) CProjectile;
|
||||
projectile = CProjectile::Create();
|
||||
projectile->init( eyeballPos, m_fireHeading, CProjectile::PROJECTILE_FIXED, CProjectile::PROJECTILE_INFINITE_LIFE );
|
||||
projectile->setGraphic( FRM_EYEBALL_STATIC );
|
||||
|
||||
|
@ -130,7 +130,7 @@ CThing *Next=getNext();
|
|||
eyeballPos.vy += ( EYEBALL_DIST * rsin( m_heading ) ) >> 12;
|
||||
|
||||
CProjectile *projectile;
|
||||
projectile = new ( "eyeball projectile" ) CProjectile;
|
||||
projectile = CProjectile::Create();
|
||||
projectile->init( eyeballPos, m_fireHeading, CProjectile::PROJECTILE_USER_SEEK, CProjectile::PROJECTILE_INFINITE_LIFE );
|
||||
projectile->setGraphic( FRM_EYEBALL_STATIC );
|
||||
projectile->setState( CProjectile::PROJECTILE_ATTACK );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue