This commit is contained in:
Paul 2001-07-11 13:57:18 +00:00
parent dcc89d83a3
commit a073198526

View File

@ -2024,6 +2024,7 @@ void CPlayer::takeDamage(DAMAGE_TYPE _damage,REACT_DIRECTION _reactDirection,CTh
if(m_invincibleFrameCount==0&& // Don't take damage if still recovering from the last hit
m_invincibilityRingTimer==0&& // Or if we have the invincibility ring on
m_currentPlayerModeClass->getState()!=STATE_SOAKUP&& // Or soaking up
m_currentPlayerModeClass->getState()!=STATE_CELEBRATE&& // Or celebrating
m_currentMode!=PLAYER_MODE_DEAD &&
m_currentMode!=PLAYER_MODE_SWALLOW) // Or already dead! :)
{