Addendum to previous commit

This commit is contained in:
saml1er 2020-04-10 21:59:49 +05:00
parent 16360eb6df
commit 4f00576a8c

View File

@ -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;
} }
} }
} }