summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-19 11:57:12 +0200
committeraap <aap@papnet.eu>2019-07-19 11:57:12 +0200
commit59145cea83da6d0ade8221dbe8c1469be8084ea0 (patch)
tree3f6dde8e3840e5ebe641f6666c6d790f4a1f1950 /src/objects
parent*cough* (diff)
downloadre3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar
re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.gz
re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.bz2
re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.lz
re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.xz
re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.zst
re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.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 ef5bcc5e..775a87a1 100644
--- a/src/objects/ObjectData.cpp
+++ b/src/objects/ObjectData.cpp
@@ -93,7 +93,7 @@ CObjectData::SetObjectData(int32 modelId, CObject &object)
if(object.m_fMass >= 99998.0){
object.bInfiniteMass = true;
object.bAffectedByGravity = false;
- object.m_flagB2 = true;
+ object.bExplosionProof = true;
}
}