diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-07 17:26:23 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-07 17:26:40 +0200 |
commit | f7e962beaa9bb09629990a9fc8cd42f7ef29de7d (patch) | |
tree | be625fef86277d78ea20785f0055b377708f7d74 /src/objects/ObjectData.cpp | |
parent | f9316d9cc3cfb748366758c41cf02634b6df9a08 (diff) |
Fixing Projectile code
Diffstat (limited to 'src/objects/ObjectData.cpp')
-rw-r--r-- | src/objects/ObjectData.cpp | 2 |
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; |