This commit is contained in:
parent
a0b2221837
commit
1963029065
2 changed files with 7 additions and 3 deletions
|
@ -141,7 +141,7 @@ void CNpcAnemone1Enemy::processClose( int _frames )
|
|||
|
||||
if ( decDir < incDir )
|
||||
{
|
||||
moveDist = decDir;
|
||||
moveDist = -decDir;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -165,6 +165,8 @@ void CNpcAnemone1Enemy::processClose( int _frames )
|
|||
|
||||
m_heading &= 4095;
|
||||
|
||||
m_drawRotation = m_heading + 1024;
|
||||
|
||||
if ( withinRange )
|
||||
{
|
||||
// can fire, start firing anim
|
||||
|
@ -496,6 +498,8 @@ void CNpcAnemone3Enemy::processClose( int _frames )
|
|||
CProjectile *projectile;
|
||||
u8 lifetime = 8;
|
||||
|
||||
m_fireHeading = m_heading & 4095;
|
||||
|
||||
projectile = new( "test projectile" ) CProjectile;
|
||||
projectile->init( Pos,
|
||||
m_fireHeading,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue