This commit is contained in:
parent
6c7fea286a
commit
cde735bd8b
1 changed files with 8 additions and 0 deletions
|
@ -248,6 +248,14 @@ void CNpcIronDogfishEnemy::processStandardIronDogfishAttack( int _frames )
|
|||
case IRON_DOGFISH_LASER_EYE_1:
|
||||
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 )
|
||||
{
|
||||
m_animPlaying = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue