This commit is contained in:
parent
42b33334a4
commit
6a721b6cb0
@ -1829,7 +1829,18 @@ void CPlayer::takeDamage(DAMAGE_TYPE _damage,REACT_DIRECTION _reactDirection,CTh
|
||||
|
||||
if(died)
|
||||
{
|
||||
dieYouPorousFreak();
|
||||
DEATH_TYPE deathType;
|
||||
switch(_damage)
|
||||
{
|
||||
case DAMAGE__SQUASH_ENEMY:
|
||||
deathType=DEATHTYPE__SQUASH;
|
||||
break;
|
||||
|
||||
default:
|
||||
deathType=DEATHTYPE__NORMAL;
|
||||
break;
|
||||
}
|
||||
dieYouPorousFreak(deathType);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user