summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-02-25 20:01:56 +0100
committerFilip Gawin <filip.gawin@zoho.com>2020-03-22 17:30:54 +0100
commit8f01eab5ab97c498fd308c091ad9c555b2f67b56 (patch)
treec7b9b88d8b77ab3559be411dbbfeda98e3294c7b /src/objects
parentImplement ProcessGarages + small cleanup (diff)
downloadre3-8f01eab5ab97c498fd308c091ad9c555b2f67b56.tar
re3-8f01eab5ab97c498fd308c091ad9c555b2f67b56.tar.gz
re3-8f01eab5ab97c498fd308c091ad9c555b2f67b56.tar.bz2
re3-8f01eab5ab97c498fd308c091ad9c555b2f67b56.tar.lz
re3-8f01eab5ab97c498fd308c091ad9c555b2f67b56.tar.xz
re3-8f01eab5ab97c498fd308c091ad9c555b2f67b56.tar.zst
re3-8f01eab5ab97c498fd308c091ad9c555b2f67b56.zip
Diffstat (limited to 'src/objects')
-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 92e9d544..aa58a845 100644
--- a/src/objects/ObjectData.cpp
+++ b/src/objects/ObjectData.cpp
@@ -90,7 +90,7 @@ CObjectData::SetObjectData(int32 modelId, CObject &object)
object.m_nCollisionDamageEffect = objinfo->m_nCollisionDamageEffect;
object.m_nSpecialCollisionResponseCases = objinfo->m_nSpecialCollisionResponseCases;
object.m_bCameraToAvoidThisObject = objinfo->m_bCameraToAvoidThisObject;
- if(object.m_fMass >= 99998.0){
+ if(object.m_fMass >= 99998.0f){
object.bInfiniteMass = true;
object.bAffectedByGravity = false;
object.bExplosionProof = true;