This commit is contained in:
parent
c08cf02803
commit
148b4416de
8 changed files with 62 additions and 21 deletions
|
@ -437,6 +437,7 @@ void CNpcEnemy::postInit()
|
|||
CProjectile *projectile;
|
||||
projectile = new ( "eyeball projectile" ) CProjectile;
|
||||
projectile->init( Pos, m_fireHeading, CProjectile::PROJECTILE_FIXED, CProjectile::PROJECTILE_INFINITE_LIFE );
|
||||
projectile->setLayerCollision( m_layerCollision );
|
||||
|
||||
addChild( projectile );
|
||||
|
||||
|
@ -461,6 +462,7 @@ void CNpcEnemy::postInit()
|
|||
|
||||
projectile = new( "anemone lev2 projectile" ) CProjectile;
|
||||
projectile->init( spikePos, heading, CProjectile::PROJECTILE_FIXED, CProjectile::PROJECTILE_INFINITE_LIFE );
|
||||
projectile->setLayerCollision( m_layerCollision );
|
||||
|
||||
addChild( projectile );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue