diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-07 16:26:23 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-07 16:26:40 +0100 |
commit | f7e962beaa9bb09629990a9fc8cd42f7ef29de7d (patch) | |
tree | be625fef86277d78ea20785f0055b377708f7d74 /src/objects/ObjectData.cpp | |
parent | CPlayerPed & CMenuManager (#286) (diff) | |
download | re3-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 '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; |