summaryrefslogtreecommitdiffstats
path: root/src/objects/ObjectData.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-07 16:26:23 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-07 16:26:40 +0100
commitf7e962beaa9bb09629990a9fc8cd42f7ef29de7d (patch)
treebe625fef86277d78ea20785f0055b377708f7d74 /src/objects/ObjectData.cpp
parentCPlayerPed & CMenuManager (#286) (diff)
downloadre3-f7e962beaa9bb09629990a9fc8cd42f7ef29de7d.tar
re3-f7e962beaa9bb09629990a9fc8cd42f7ef29de7d.tar.gz
re3-f7e962beaa9bb09629990a9fc8cd42f7ef29de7d.tar.bz2
re3-f7e962beaa9bb09629990a9fc8cd42f7ef29de7d.tar.lz
re3-f7e962beaa9bb09629990a9fc8cd42f7ef29de7d.tar.xz
re3-f7e962beaa9bb09629990a9fc8cd42f7ef29de7d.tar.zst
re3-f7e962beaa9bb09629990a9fc8cd42f7ef29de7d.zip
Diffstat (limited to '')
-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;