summaryrefslogtreecommitdiff
path: root/src/objects/ObjectData.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-07 17:26:23 +0200
committerSergeanur <s.anureev@yandex.ua>2020-01-07 17:26:40 +0200
commitf7e962beaa9bb09629990a9fc8cd42f7ef29de7d (patch)
treebe625fef86277d78ea20785f0055b377708f7d74 /src/objects/ObjectData.cpp
parentf9316d9cc3cfb748366758c41cf02634b6df9a08 (diff)
Fixing Projectile code
Diffstat (limited to 'src/objects/ObjectData.cpp')
-rw-r--r--src/objects/ObjectData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects/ObjectData.cpp b/src/objects/ObjectData.cpp
index 775a87a1..92e9d544 100644
--- a/src/objects/ObjectData.cpp
+++ b/src/objects/ObjectData.cpp
@@ -57,7 +57,7 @@ CObjectData::Initialise(const char *filename)
&ms_aObjectInfo[id].m_fCollisionDamageMultiplier,
&damageEffect, &responseCase, &camAvoid);
- ms_aObjectInfo[id].m_fBuoyancy = 100.0f/percentSubmerged * 0.008*ms_aObjectInfo[id].m_fMass;
+ ms_aObjectInfo[id].m_fBuoyancy = 100.0f/percentSubmerged * GRAVITY *ms_aObjectInfo[id].m_fMass;
ms_aObjectInfo[id].m_nCollisionDamageEffect = damageEffect;
ms_aObjectInfo[id].m_nSpecialCollisionResponseCases = responseCase;
ms_aObjectInfo[id].m_bCameraToAvoidThisObject = camAvoid;