diff options
author | saml1er <danishroar@gmail.com> | 2020-04-10 18:59:49 +0200 |
---|---|---|
committer | saml1er <danishroar@gmail.com> | 2020-04-10 18:59:49 +0200 |
commit | 4f00576a8c2ae03443848c5548cd5ad0e0e8d002 (patch) | |
tree | 6dc6c126aa6608f41c9cf46321e852bafc3451b9 /src/objects/Object.cpp | |
parent | Refactor CObject::ObjectDamage switch statement (diff) | |
download | re3-4f00576a8c2ae03443848c5548cd5ad0e0e8d002.tar re3-4f00576a8c2ae03443848c5548cd5ad0e0e8d002.tar.gz re3-4f00576a8c2ae03443848c5548cd5ad0e0e8d002.tar.bz2 re3-4f00576a8c2ae03443848c5548cd5ad0e0e8d002.tar.lz re3-4f00576a8c2ae03443848c5548cd5ad0e0e8d002.tar.xz re3-4f00576a8c2ae03443848c5548cd5ad0e0e8d002.tar.zst re3-4f00576a8c2ae03443848c5548cd5ad0e0e8d002.zip |
Diffstat (limited to '')
-rw-r--r-- | src/objects/Object.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp index aec9eba1..ca0ebf86 100644 --- a/src/objects/Object.cpp +++ b/src/objects/Object.cpp @@ -185,6 +185,7 @@ CObject::ObjectDamage(float amount) bExplosionProof = true; m_vecMoveSpeed = CVector(0.0f, 0.0f, 0.0f); m_vecTurnSpeed = CVector(0.0f, 0.0f, 0.0f); + break; case COLDAMAGE_EFFECT_CHANGE_THEN_SMASH: if (!bRenderDamaged) { bRenderDamaged = true; @@ -294,8 +295,6 @@ CObject::ObjectDamage(float amount) PlayOneShotScriptObject(_SCRSOUND_COL_CAR, vecPos); break; } - default: - return; } } } |