This commit is contained in:
parent
268b1c0645
commit
79aee886c6
4 changed files with 22 additions and 9 deletions
|
@ -147,14 +147,9 @@ void CNpc::processCloseAnemone3Attack( int _frames )
|
|||
CProjectile *projectile;
|
||||
u8 lifetime = 8;
|
||||
|
||||
DVECTOR newPos = Pos;
|
||||
|
||||
newPos.vx += rcos( m_fireHeading ) >> 5;
|
||||
newPos.vy += rsin( m_fireHeading ) >> 5;
|
||||
|
||||
projectile = new( "test projectile" ) CProjectile;
|
||||
projectile->init( newPos,
|
||||
m_heading,
|
||||
projectile->init( Pos,
|
||||
m_fireHeading,
|
||||
CProjectile::PROJECTILE_GAS_CLOUD,
|
||||
CProjectile::PROJECTILE_FINITE_LIFE,
|
||||
lifetime * GameState::getOneSecondInFrames() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue