Addendum to previous commit
This commit is contained in:
parent
16360eb6df
commit
4f00576a8c
@ -185,6 +185,7 @@ CObject::ObjectDamage(float amount)
|
|||||||
bExplosionProof = true;
|
bExplosionProof = true;
|
||||||
m_vecMoveSpeed = CVector(0.0f, 0.0f, 0.0f);
|
m_vecMoveSpeed = CVector(0.0f, 0.0f, 0.0f);
|
||||||
m_vecTurnSpeed = CVector(0.0f, 0.0f, 0.0f);
|
m_vecTurnSpeed = CVector(0.0f, 0.0f, 0.0f);
|
||||||
|
break;
|
||||||
case COLDAMAGE_EFFECT_CHANGE_THEN_SMASH:
|
case COLDAMAGE_EFFECT_CHANGE_THEN_SMASH:
|
||||||
if (!bRenderDamaged) {
|
if (!bRenderDamaged) {
|
||||||
bRenderDamaged = true;
|
bRenderDamaged = true;
|
||||||
@ -294,8 +295,6 @@ CObject::ObjectDamage(float amount)
|
|||||||
PlayOneShotScriptObject(_SCRSOUND_COL_CAR, vecPos);
|
PlayOneShotScriptObject(_SCRSOUND_COL_CAR, vecPos);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user