This commit is contained in:
parent
6c7fea286a
commit
cde735bd8b
@ -248,6 +248,14 @@ void CNpcIronDogfishEnemy::processStandardIronDogfishAttack( int _frames )
|
|||||||
case IRON_DOGFISH_LASER_EYE_1:
|
case IRON_DOGFISH_LASER_EYE_1:
|
||||||
case IRON_DOGFISH_LASER_EYE_2:
|
case IRON_DOGFISH_LASER_EYE_2:
|
||||||
{
|
{
|
||||||
|
if ( playerYDistSqr > 250000 )
|
||||||
|
{
|
||||||
|
m_movementTimer = GameState::getOneSecondInFrames() * 3;
|
||||||
|
m_state = IRON_DOGFISH_THUMP_2;
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if ( m_animNo != ANIM_IRONDOGFISH_IDLE || !m_animPlaying )
|
if ( m_animNo != ANIM_IRONDOGFISH_IDLE || !m_animPlaying )
|
||||||
{
|
{
|
||||||
m_animPlaying = true;
|
m_animPlaying = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user