summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-31 21:57:52 +0100
committeraap <aap@papnet.eu>2020-12-31 21:57:52 +0100
commit613bb72eb7dbf693b7621570707a7eae2f43f6cf (patch)
tree3e8bdfad0fde66d92906f64a6d0bf595003b19d7 /src/core
parentFix CMoneyMessages::RegisterOne (diff)
downloadre3-613bb72eb7dbf693b7621570707a7eae2f43f6cf.tar
re3-613bb72eb7dbf693b7621570707a7eae2f43f6cf.tar.gz
re3-613bb72eb7dbf693b7621570707a7eae2f43f6cf.tar.bz2
re3-613bb72eb7dbf693b7621570707a7eae2f43f6cf.tar.lz
re3-613bb72eb7dbf693b7621570707a7eae2f43f6cf.tar.xz
re3-613bb72eb7dbf693b7621570707a7eae2f43f6cf.tar.zst
re3-613bb72eb7dbf693b7621570707a7eae2f43f6cf.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index ae4b72ec..22c92c70 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -2181,7 +2181,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 / 14000.0f * 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);