This commit is contained in:
parent
dcc89d83a3
commit
a073198526
1 changed files with 1 additions and 0 deletions
|
@ -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! :)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue