This commit is contained in:
parent
765a96ab63
commit
6aaf3819e4
1 changed files with 2 additions and 2 deletions
|
@ -195,8 +195,8 @@ void CNpcEnemy::processCloseAnemone2Attack( int _frames )
|
||||||
heading &= 4095;
|
heading &= 4095;
|
||||||
|
|
||||||
spikePos = Pos;
|
spikePos = Pos;
|
||||||
spikePos.vx += ( 10 * rcos( heading ) ) >> 12;
|
spikePos.vx += ( 40 * rcos( heading ) ) >> 12;
|
||||||
spikePos.vy += ( 10 * rsin( heading ) ) >> 12;
|
spikePos.vy += ( 40 * rsin( heading ) ) >> 12;
|
||||||
|
|
||||||
projectile = new( "anemone lev2 projectile" ) CProjectile;
|
projectile = new( "anemone lev2 projectile" ) CProjectile;
|
||||||
projectile->init( spikePos, heading, CProjectile::PROJECTILE_FIXED, CProjectile::PROJECTILE_INFINITE_LIFE );
|
projectile->init( spikePos, heading, CProjectile::PROJECTILE_FIXED, CProjectile::PROJECTILE_INFINITE_LIFE );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue