This commit is contained in:
parent
9e5599bce1
commit
11b83fad06
1 changed files with 4 additions and 0 deletions
|
@ -250,6 +250,8 @@ void CNpcAnemone1Enemy::processClose( int _frames )
|
||||||
projectile = CProjectile::Create();
|
projectile = CProjectile::Create();
|
||||||
projectile->init( projPos, m_heading );
|
projectile->init( projPos, m_heading );
|
||||||
projectile->setSpeed( 3 );
|
projectile->setSpeed( 3 );
|
||||||
|
projectile->setXScale( 4224 );
|
||||||
|
projectile->setYScale( 4224 );
|
||||||
|
|
||||||
m_controlFunc = NPC_CONTROL_MOVEMENT;
|
m_controlFunc = NPC_CONTROL_MOVEMENT;
|
||||||
m_timerTimer = GameState::getOneSecondInFrames();
|
m_timerTimer = GameState::getOneSecondInFrames();
|
||||||
|
@ -379,6 +381,8 @@ void CNpcAnemone2Enemy::processClose( int _frames )
|
||||||
projectile->init( spikePos, heading, CProjectile::PROJECTILE_DUMBFIRE, CProjectile::PROJECTILE_FINITE_LIFE );
|
projectile->init( spikePos, heading, CProjectile::PROJECTILE_DUMBFIRE, CProjectile::PROJECTILE_FINITE_LIFE );
|
||||||
projectile->setState( CProjectile::PROJECTILE_ATTACK );
|
projectile->setState( CProjectile::PROJECTILE_ATTACK );
|
||||||
projectile->setSpeed( 4 );
|
projectile->setSpeed( 4 );
|
||||||
|
projectile->setXScale( 4224 );
|
||||||
|
projectile->setYScale( 4224 );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_controlFunc = NPC_CONTROL_MOVEMENT;
|
m_controlFunc = NPC_CONTROL_MOVEMENT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue