This commit is contained in:
parent
10a01720c7
commit
8259aac172
@ -1251,6 +1251,8 @@ void CNpcSeaSnakeEnemy::collidedWith( CThing *_thisThing )
|
||||
switch(_thisThing->getThingType())
|
||||
{
|
||||
case TYPE_PLAYER:
|
||||
{
|
||||
if ( m_invulnerableTimer <= 0 )
|
||||
{
|
||||
CPlayer *player = (CPlayer *) _thisThing;
|
||||
|
||||
@ -1292,7 +1294,7 @@ void CNpcSeaSnakeEnemy::collidedWith( CThing *_thisThing )
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ( m_invulnerableTimer <= 0 )
|
||||
else
|
||||
{
|
||||
// player is attacking, respond appropriately
|
||||
|
||||
@ -1308,6 +1310,7 @@ void CNpcSeaSnakeEnemy::collidedWith( CThing *_thisThing )
|
||||
drawAttackEffect();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user