This commit is contained in:
Paul 2001-04-18 20:31:14 +00:00
parent c61e68d783
commit 91a26f6ed2
2 changed files with 9 additions and 8 deletions

View file

@ -902,10 +902,17 @@ void CPlayer::takeDamage(DAMAGE_TYPE _damage)
case DAMAGE__NONE:
break;
case DAMAGE__ELECTROCUTION:
case DAMAGE__SHOCK_ENEMY:
if(m_squeakyBootsTimer)
{
ouchThatHurt=false;
}
break;
case DAMAGE__FALL:
case DAMAGE__LAVA:
case DAMAGE__HIT_ENEMY:
case DAMAGE__SHOCK_ENEMY:
case DAMAGE__GAS_ENEMY:
case DAMAGE__POISON_ENEMY:
case DAMAGE__SWALLOW_ENEMY:
@ -914,13 +921,6 @@ void CPlayer::takeDamage(DAMAGE_TYPE _damage)
case DAMAGE__BURN_ENEMY:
case DAMAGE__BITE_ENEMY:
break;
case DAMAGE__ELECTROCUTION:
if(m_squeakyBootsTimer)
{
ouchThatHurt=false;
}
break;
}
if(ouchThatHurt)