This commit is contained in:
parent
4c93823479
commit
f701f34dc4
25 changed files with 264 additions and 276 deletions
|
@ -347,10 +347,7 @@ void CNpcMotherJellyfishEnemy::spawnJellyfish( int _frames )
|
|||
else
|
||||
{
|
||||
CNpcEnemy *enemy;
|
||||
enemy = new( "jellyfish projectile" ) CNpcSmallJellyfishProjectileEnemy;
|
||||
ASSERT(enemy);
|
||||
enemy->setType( CNpcEnemy::NPC_PROJECTILE_JELLYFISH );
|
||||
enemy->init();
|
||||
enemy = CNpcEnemy::Create( NPC_PROJECTILE_JELLYFISH );
|
||||
enemy->setStartPos( Pos.vx >> 4, ( Pos.vy + 20 ) >> 4 );
|
||||
|
||||
enemy->setWaypointCount( m_npcPath.getWaypointCount() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue