This commit is contained in:
Charles 2001-07-25 16:47:37 +00:00
parent 6c7fea286a
commit cde735bd8b

View File

@ -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;