diff options
author | aap <aap@papnet.eu> | 2020-12-31 21:58:03 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-31 21:58:03 +0100 |
commit | 4e7c2b90f7708a781b588cebc499f80c4fc75910 (patch) | |
tree | 505d424506bdd4f54977950f33946bbc65948ec2 /src/core/World.cpp | |
parent | Fix CMoneyMessages::RegisterOne (diff) | |
download | re3-4e7c2b90f7708a781b588cebc499f80c4fc75910.tar re3-4e7c2b90f7708a781b588cebc499f80c4fc75910.tar.gz re3-4e7c2b90f7708a781b588cebc499f80c4fc75910.tar.bz2 re3-4e7c2b90f7708a781b588cebc499f80c4fc75910.tar.lz re3-4e7c2b90f7708a781b588cebc499f80c4fc75910.tar.xz re3-4e7c2b90f7708a781b588cebc499f80c4fc75910.tar.zst re3-4e7c2b90f7708a781b588cebc499f80c4fc75910.zip |
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r-- | src/core/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index dc99f015..544542d2 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -2089,7 +2089,7 @@ CWorld::TriggerExplosionSectorList(CPtrList &list, const CVector &position, floa if(!pEntity->GetIsStatic()) { float fDamageMultiplier = Min((fRadius - fMagnitude) * 2.0f / fRadius, 1.0f); CVector vecForceDir = - vecDistance * (fPower * pEntity->m_fMass * 0.00071429f * fDamageMultiplier / + vecDistance * (fPower * pEntity->m_fMass / 1400.0f * fDamageMultiplier / Max(fMagnitude, 0.01f)); vecForceDir.z = Max(vecForceDir.z, 0.0f); if(pEntity == FindPlayerPed()) vecForceDir.z = Min(vecForceDir.z, 1.0f); |